about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-17 22:08:47 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:43:08 -0500
commit28be38e40c6d56fd7bc0b0c98a3b76609e70b903 (patch)
treebd3a22d7f87787b7cbeb7baa5065724f533cc6b9 /db/migrate
parent1a4c553afdba941eeac554ee8e2f47b2db2c6b48 (diff)
[Privacy] Add profile option for indirect federation mode, disabled by default
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20200718011317_add_require_dereference_to_accounts.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20200718011317_add_require_dereference_to_accounts.rb b/db/migrate/20200718011317_add_require_dereference_to_accounts.rb
new file mode 100644
index 000000000..9fcabd891
--- /dev/null
+++ b/db/migrate/20200718011317_add_require_dereference_to_accounts.rb
@@ -0,0 +1,7 @@
+class AddRequireDereferenceToAccounts < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured do
+      add_column :accounts, :require_dereference, :boolean, null: false, default: false
+    end
+  end
+end