From 545dae4a23f7ca4833425ca31257b74a823f63a3 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 26 Sep 2020 23:19:20 -0500 Subject: Drop Monsterfork conversations.public column in preparation for ACLs --- db/migrate/20200925035221_drop_conversations_public.rb | 7 +++++++ db/schema.rb | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20200925035221_drop_conversations_public.rb (limited to 'db') 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 diff --git a/db/schema.rb b/db/schema.rb index ab1fc6453..f7a21b6d3 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_09_23_000003) do +ActiveRecord::Schema.define(version: 2020_09_25_035221) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -328,7 +328,6 @@ ActiveRecord::Schema.define(version: 2020_09_23_000003) do t.string "uri" t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.boolean "public", default: false, null: false t.string "root" t.index ["uri"], name: "index_conversations_on_uri", unique: true end -- cgit