Sha256: e6c7325022d9c290f4108ce4265de85691439d642f87b7363df983cd471295a1

Contents?: true

Size: 309 Bytes

Versions: 7

Compression:

Stored size: 309 Bytes

Contents

module DeviseInvitable
  module Schema
    # Creates invitation_token and invitation_sent_at.
    def invitable
      apply_devise_schema :invitation_token,   String, :limit => 20
      apply_devise_schema :invitation_sent_at, DateTime
    end
  end
end

Devise::Schema.send :include, DeviseInvitable::Schema

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
devise_invitable-0.3.7 lib/devise_invitable/schema.rb
devise_invitable-0.3.6 lib/devise_invitable/schema.rb
devise_invitable-0.3.5 lib/devise_invitable/schema.rb
devise_invitable-0.3.4 lib/devise_invitable/schema.rb
devise_invitable-0.3.2 lib/devise_invitable/schema.rb
devise_invitable-0.3.1 lib/devise_invitable/schema.rb
lperichon-devise_invitable-0.3.0 lib/devise_invitable/schema.rb