Module: DeviseInvitable::Schema

Defined in:
lib/devise_invitable/schema.rb

Instance Method Summary collapse

Instance Method Details

#invitableObject

Creates invitation_token and invitation_sent_at.



4
5
6
7
# File 'lib/devise_invitable/schema.rb', line 4

def invitable
  apply_devise_schema :invitation_token,   String, :limit => 20
  apply_devise_schema :invitation_sent_at, DateTime
end