diff options
-rw-r--r-- | db/migrate/20201123171722_add_allow_anonymous_to_accounts.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/db/migrate/20201123171722_add_allow_anonymous_to_accounts.rb b/db/migrate/20201123171722_add_allow_anonymous_to_accounts.rb index c7fdfba14..f48783883 100644 --- a/db/migrate/20201123171722_add_allow_anonymous_to_accounts.rb +++ b/db/migrate/20201123171722_add_allow_anonymous_to_accounts.rb @@ -1,5 +1,7 @@ class AddAllowAnonymousToAccounts < ActiveRecord::Migration[5.2] def change - add_column :accounts, :allow_anonymous, :boolean, null: false, default: false + safety_assured do + add_column :accounts, :allow_anonymous, :boolean, null: false, default: false + end end end |