diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-05-21 01:56:07 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-05-21 03:16:51 -0500 |
commit | bf33771c80aa79e9463f1316b1ca473d8d0ddd3b (patch) | |
tree | 102e74253e75a8942ee1148841c6bb7bd5e30cfc /db | |
parent | 83c2c466fb407607948306b59aebfc1767a4ad7e (diff) |
add `edited` column to status table to mark if a mod/admin changed something
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20190521003029_add_edited_to_statuses.rb | 5 |
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 |