* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
13 lines
305 B
Ruby
13 lines
305 B
Ruby
class CreateIdentities < ActiveRecord::Migration[4.2]
|
|
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
|