0
0
Fork 0

Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 (#24275)

This commit is contained in:
Claire 2023-03-27 16:09:10 +02:00 committed by GitHub
parent cf12621e37
commit c0e87ad8ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 49 additions and 49 deletions

View file

@ -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: ''