about summary refs log tree commit diff
path: root/db
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-28 03:03:29 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commit1e2977256cead2a12189687c568daf7b55830561 (patch)
tree626604f36312b5ff3edfb15bb7cc249a61b57de0 /db
parent89e54748d7e227f0862c9a6a2d87cb8d73783d8a (diff)
Allow own roars to be included in lists.
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20190428055312_add_show_self_to_lists.rb5
-rw-r--r--db/schema.rb1
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20190428055312_add_show_self_to_lists.rb b/db/migrate/20190428055312_add_show_self_to_lists.rb
new file mode 100644
index 000000000..5add9843b
--- /dev/null
+++ b/db/migrate/20190428055312_add_show_self_to_lists.rb
@@ -0,0 +1,5 @@
+class AddShowSelfToLists < ActiveRecord::Migration[5.2]
+  def change
+    safety_assured { add_column :lists, :show_self, :boolean, default: false, null: false }
+  end
+end
diff --git a/db/schema.rb b/db/schema.rb
index e621feb46..30121e4b4 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -361,6 +361,7 @@ ActiveRecord::Schema.define(version: 2019_05_19_130537) do
     t.datetime "created_at", null: false
     t.datetime "updated_at", null: false
     t.integer "replies_policy", default: 0, null: false
+    t.boolean "show_self", default: false, null: false
     t.index ["account_id"], name: "index_lists_on_account_id"
   end