From 90b33ab8af91991217cdce3e2d9163756e58a691 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Tue, 24 Nov 2020 10:48:03 -0600 Subject: Add missing safety_assured wrapper --- db/migrate/20201123171722_add_allow_anonymous_to_accounts.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit