Module: Devise::Oauth2Authenticatable::Schema

Defined in:
lib/devise_oauth2_authenticatable/schema.rb

Instance Method Summary collapse

Instance Method Details

#oauth2_authenticatableObject

Database migration schema for Facebook Connect.



11
12
13
14
# File 'lib/devise_oauth2_authenticatable/schema.rb', line 11

def oauth2_authenticatable
  apply_schema ::Devise.oauth2_uid_field, Integer, :limit => 8  # BIGINT unsigned / 64-bit int
  apply_schema ::Devise.oauth2_token_field, String, :limit => 149  # [128][1][20] chars
end