adds Identity model and migration

This commit is contained in:
David Gil
2015-08-24 19:42:51 +02:00
parent 88eb8a6cc4
commit f0e47ee787
6 changed files with 70 additions and 4 deletions

View 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