about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20200925035221_drop_conversations_public.rb7
-rw-r--r--db/schema.rb3
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