about summary refs log tree commit diff
path: root/db/migrate/20200925035221_drop_conversations_public.rb
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-09-26 23:19:20 -0500
committerFire Demon <firedemon@creature.cafe>2020-09-26 23:44:40 -0500
commit545dae4a23f7ca4833425ca31257b74a823f63a3 (patch)
tree6e789e0f5f198a6df8cf900dcbdac8dfd0971cbb /db/migrate/20200925035221_drop_conversations_public.rb
parent8b0df8951190892126ee7492d341dfeee9e41f6f (diff)
Drop Monsterfork conversations.public column in preparation for ACLs
Diffstat (limited to 'db/migrate/20200925035221_drop_conversations_public.rb')
-rw-r--r--db/migrate/20200925035221_drop_conversations_public.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20200925035221_drop_conversations_public.rb b/db/migrate/20200925035221_drop_conversations_public.rb
new file mode 100644
index 000000000..e09f6014a
--- /dev/null
+++ b/db/migrate/20200925035221_drop_conversations_public.rb
@@ -0,0 +1,7 @@
+class DropConversationsPublic < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured do
+      remove_column :conversations, :public
+    end
+  end
+end