Change to migration so it's not "strong"

This commit is contained in:
Darius Kazemi 2022-12-01 22:13:39 -08:00 committed by Darius Kazemi
parent f9c2070d2f
commit ae7eee0098
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
class AddKeepLocalToAccountStatusesCleanupPolicies < ActiveRecord::Migration[6.1]
def change
add_column :account_statuses_cleanup_policies, :keep_local, :boolean, null: false, default: true
add_column :account_statuses_cleanup_policies, :keep_local, :boolean
change_column_default :account_statuses_cleanup_policies, :keep_local, false
end
end