diff options
author | ThibG <thib@sitedethib.com> | 2020-12-15 04:30:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-15 04:30:15 +0100 |
commit | 1390cc194bd07b85fe36e31a0cab22981315974d (patch) | |
tree | 27a181069ada860864acbaa90aa8de76e54607e4 /db | |
parent | 7c800fa80188872805091f733c919d6b07b3936e (diff) |
Add indication to admin UI of whether a report has been forwarded (#13237)
* Add indication to admin UI of whether a report has been forwarded * Rework how forwarded status is displayed Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20200309150742_add_forwarded_to_reports.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/db/migrate/20200309150742_add_forwarded_to_reports.rb b/db/migrate/20200309150742_add_forwarded_to_reports.rb new file mode 100644 index 000000000..df278240b --- /dev/null +++ b/db/migrate/20200309150742_add_forwarded_to_reports.rb @@ -0,0 +1,5 @@ +class AddForwardedToReports < ActiveRecord::Migration[5.2] + def change + add_column :reports, :forwarded, :boolean + end +end diff --git a/db/schema.rb b/db/schema.rb index 2f9d369be..55822a4b3 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -717,6 +717,7 @@ ActiveRecord::Schema.define(version: 2020_12_06_004238) do t.bigint "target_account_id", null: false t.bigint "assigned_account_id" t.string "uri" + t.boolean "forwarded" t.index ["account_id"], name: "index_reports_on_account_id" t.index ["target_account_id"], name: "index_reports_on_target_account_id" end |