about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-05 23:08:13 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commitc983c4e9528cf4163655db079393ba343f571718 (patch)
tree5d7ee3cea108a0771fa99604c7e0c5442747e4d1 /db/migrate
parenta47b1daaebea09ca07ca93079e530f26cfeef914 (diff)
Privacy: add options to make interaction lists private and to not be included in public interaction lists.
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190506024558_add_unlisted_to_accounts.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190506024558_add_unlisted_to_accounts.rb b/db/migrate/20190506024558_add_unlisted_to_accounts.rb
new file mode 100644
index 000000000..027be27a5
--- /dev/null
+++ b/db/migrate/20190506024558_add_unlisted_to_accounts.rb
@@ -0,0 +1,5 @@
+class AddUnlistedToAccounts < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured { add_column :accounts, :unlisted, :boolean, null: false, default: false }
+  end
+end