Class: CreateAuthentications
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- CreateAuthentications
- Defined in:
- lib/minimum/omniauth/scaffold/templates/migrate/create_authentications.rb
Instance Method Summary collapse
Instance Method Details
#change ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/minimum/omniauth/scaffold/templates/migrate/create_authentications.rb', line 2 def change create_table :authentications do |t| t.references :user, index: true t.string :provider t.string :uid t.string :name t.string :nickname t.string :image t.string :email t.string :location t.string :gender t.string :token t.string :secret t. end end |