I have this in my Class User
in devise
class User
belongs_to :parent, :class_name => 'User'
has_many :children, :class_name => 'User'
...
end
What I would like to know is what would be migration
of User
in a case like this?