Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 (#24275)
This commit is contained in:
@@ -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: ''
|
||||
|
||||
|
Reference in New Issue
Block a user