about summary refs log tree commit diff
path: root/db/migrate
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-05-21 01:56:07 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:51 -0500
commitbf33771c80aa79e9463f1316b1ca473d8d0ddd3b (patch)
tree102e74253e75a8942ee1148841c6bb7bd5e30cfc /db/migrate
parent83c2c466fb407607948306b59aebfc1767a4ad7e (diff)
add `edited` column to status table to mark if a mod/admin changed something
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20190521003029_add_edited_to_statuses.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20190521003029_add_edited_to_statuses.rb b/db/migrate/20190521003029_add_edited_to_statuses.rb
new file mode 100644
index 000000000..205aa4ef8
--- /dev/null
+++ b/db/migrate/20190521003029_add_edited_to_statuses.rb
@@ -0,0 +1,5 @@
+class AddEditedToStatuses < ActiveRecord::Migration[5.2]
+  def change
+    add_column :statuses, :edited, :boolean
+  end
+end