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 RemoveSubscriptionExpiresAtFromAccounts < ActiveRecord::Migration[5.0]
class RemoveSubscriptionExpiresAtFromAccounts < ActiveRecord::Migration[5.2]
def change
safety_assured do
remove_column :accounts, :subscription_expires_at, :datetime, null: true, default: nil
remove_column :accounts, :subscription_expires_at, :datetime, null: true, default: nil, precision: nil
end
end
end