about summary refs log tree commit diff
path: root/db/post_migrate
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2023-03-27 16:09:10 +0200
committerGitHub <noreply@github.com>2023-03-27 16:09:10 +0200
commitc0e87ad8edae84d9363ff5bf67b0fd34ebff3eeb (patch)
tree5ce58f1925275d48779e7efe1e319a81675b7794 /db/post_migrate
parentcf12621e3751117f411890382fe599514e2863e1 (diff)
Update strong-migrations-enabled migrations from 5.0 and 5.1 to 5.2 (#24275)
Diffstat (limited to 'db/post_migrate')
-rw-r--r--db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb b/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb
index 53e24ef26..511104cef 100644
--- a/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb
+++ b/db/post_migrate/20210308133107_remove_subscription_expires_at_from_accounts.rb
@@ -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