diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-09-26 23:19:20 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-09-26 23:44:40 -0500 |
commit | 545dae4a23f7ca4833425ca31257b74a823f63a3 (patch) | |
tree | 6e789e0f5f198a6df8cf900dcbdac8dfd0971cbb /db | |
parent | 8b0df8951190892126ee7492d341dfeee9e41f6f (diff) |
Drop Monsterfork conversations.public column in preparation for ACLs
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20200925035221_drop_conversations_public.rb | 7 | ||||
-rw-r--r-- | db/schema.rb | 3 |
2 files changed, 8 insertions, 2 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 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 |