From 6c3a1729e38264d811c1ccbe25a91b7c9b04ba9d Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 22 Aug 2020 00:49:56 -0500 Subject: [Privacy] Use reply visibility gating to preserve thread permissions rather than public/private flag on thread --- .../20200822054516_remove_public_column_from_conversations.rb | 7 +++++++ db/schema.rb | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 db/migrate/20200822054516_remove_public_column_from_conversations.rb (limited to 'db') diff --git a/db/migrate/20200822054516_remove_public_column_from_conversations.rb b/db/migrate/20200822054516_remove_public_column_from_conversations.rb new file mode 100644 index 000000000..e015f3f63 --- /dev/null +++ b/db/migrate/20200822054516_remove_public_column_from_conversations.rb @@ -0,0 +1,7 @@ +class RemovePublicColumnFromConversations < ActiveRecord::Migration[5.2] + def change + def safety_assured + remove_column :conversations, :public + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 22210f7a2..498f2e052 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2020_08_21_051721) do +ActiveRecord::Schema.define(version: 2020_08_22_054516) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" -- cgit