about summary refs log tree commit diff
path: root/db/migrate/20201119035441_drop_require_dereference_from_accounts.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-11-18 22:10:15 -0600
committerFire Demon <firedemon@creature.cafe>2020-11-18 22:10:15 -0600
commit930f7145374adb79e92e9bdfcbc0d0044690b6c8 (patch)
tree6188688d3e48cd8a40fbe89adaf8db6bbf07d082 /db/migrate/20201119035441_drop_require_dereference_from_accounts.rb
parentcfe8a3218addfd7e0cc82c6f0054572f3d8aa296 (diff)
Always use indirect federation
Diffstat (limited to 'db/migrate/20201119035441_drop_require_dereference_from_accounts.rb')
-rw-r--r--db/migrate/20201119035441_drop_require_dereference_from_accounts.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20201119035441_drop_require_dereference_from_accounts.rb b/db/migrate/20201119035441_drop_require_dereference_from_accounts.rb
new file mode 100644
index 000000000..e677fbb16
--- /dev/null
+++ b/db/migrate/20201119035441_drop_require_dereference_from_accounts.rb
@@ -0,0 +1,7 @@
+class DropRequireDereferenceFromAccounts < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured do
+      remove_column :accounts, :require_dereference, :boolean, null: false, default: false
+    end
+  end
+end