class CreateAuthentications

Public Instance Methods

change() click to toggle source
# 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.timestamps
  end
end