diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-08-22 00:49:56 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:19 -0500 |
commit | 6c3a1729e38264d811c1ccbe25a91b7c9b04ba9d (patch) | |
tree | 11c1187dbe2f8c68732bdd10fc9a22f3af235a99 /db | |
parent | c299e9555426e36c4dbb489dcccad3ab6bad2f17 (diff) |
[Privacy] Use reply visibility gating to preserve thread permissions rather than public/private flag on thread
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20200822054516_remove_public_column_from_conversations.rb | 7 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 8 insertions, 1 deletions
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" |