docbrown/db/migrate/20160201014516_create_identities.rb
2018-02-28 16:11:08 -05:00

13 lines
300 B
Ruby

class CreateIdentities < ActiveRecord::Migration
def change
create_table :identities do |t|
# t.references :user, index: true
t.integer :user_id
t.string :provider
t.string :uid
t.timestamps null: false
end
# add_foreign_key :identities, :users
end
end