From bf33771c80aa79e9463f1316b1ca473d8d0ddd3b Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Tue, 21 May 2019 01:56:07 -0500 Subject: add `edited` column to status table to mark if a mod/admin changed something --- db/migrate/20190521003029_add_edited_to_statuses.rb | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/migrate/20190521003029_add_edited_to_statuses.rb (limited to 'db/migrate') 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 -- cgit