diff --git a/db/migrate/20171104221735_create_passwordless_sessions.rb b/db/migrate/20171104221735_create_passwordless_sessions.rb index 0d87588..32734fb 100644 --- a/db/migrate/20171104221735_create_passwordless_sessions.rb +++ b/db/migrate/20171104221735_create_passwordless_sessions.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class CreatePasswordlessSessions < ActiveRecord::Migration +class CreatePasswordlessSessions < ActiveRecord::Migration[6.0] def change create_table(:passwordless_sessions) do |t| t.belongs_to( diff --git a/test/dummy/db/migrate/20230621085550_create_users_and_admins.rb b/test/dummy/db/migrate/20230621085550_create_users_and_admins.rb index 34c9b88..519d981 100644 --- a/test/dummy/db/migrate/20230621085550_create_users_and_admins.rb +++ b/test/dummy/db/migrate/20230621085550_create_users_and_admins.rb @@ -1,4 +1,4 @@ -class CreateUsersAndAdmins < ActiveRecord::Migration +class CreateUsersAndAdmins < ActiveRecord::Migration[6.0] def change create_table(:admins) do |t| t.string(:email)