Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 (#24275)
This commit is contained in:
parent
cf12621e37
commit
c0e87ad8ed
45 changed files with 49 additions and 49 deletions
|
@ -1,7 +1,7 @@
|
|||
class CreateIdentities < ActiveRecord::Migration[5.0]
|
||||
class CreateIdentities < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
create_table :identities do |t|
|
||||
t.references :user, foreign_key: { on_delete: :cascade }
|
||||
create_table :identities, id: :integer do |t|
|
||||
t.references :user, type: :integer, foreign_key: { on_delete: :cascade }
|
||||
t.string :provider, null: false, default: ''
|
||||
t.string :uid, null: false, default: ''
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue