about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-11-24 10:48:03 -0600
committerFire Demon <firedemon@creature.cafe>2020-11-24 10:48:03 -0600
commit90b33ab8af91991217cdce3e2d9163756e58a691 (patch)
tree9454494cebe0178b1f7309e0366059831ee5f6e9
parentcfb764def51c8e906b26cb55eceaf4309e5a87e4 (diff)
Add missing safety_assured wrapper
-rw-r--r--db/migrate/20201123171722_add_allow_anonymous_to_accounts.rb4
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