Sha256: 38774c3b50d0d6d4d1e9d5bb03cc8a8d905652a6ee32ac10f2ce3ba5ecf5022f

Contents?: true

Size: 295 Bytes

Versions: 10

Compression:

Stored size: 295 Bytes

Contents

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

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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
devise_invitable-0.3.0 lib/devise_invitable/schema.rb
devise_invitable-0.2.3 lib/devise_invitable/schema.rb
devise_invitable-0.2.2 lib/devise_invitable/schema.rb
devise_invitable-0.2.1 lib/devise_invitable/schema.rb
devise_invitable-0.2.0 lib/devise_invitable/schema.rb
devise_invitable-0.1.4 lib/devise_invitable/schema.rb
devise_invitable-0.1.3 lib/devise_invitable/schema.rb
devise_invitable-0.1.2 lib/devise_invitable/schema.rb
devise_invitable-0.1.1 lib/devise_invitable/schema.rb
devise_invitable-0.1.0 lib/devise_invitable/schema.rb