adds Identity model and migration
This commit is contained in:
11
db/migrate/20150824144524_create_identities.rb
Normal file
11
db/migrate/20150824144524_create_identities.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateIdentities < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :identities do |t|
|
||||
t.references :user, index: true, foreign_key: true
|
||||
t.string :provider
|
||||
t.string :uid
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user