Add basic logging of who resolved report
This commit is contained in:
parent
71458dc6df
commit
68f829e11c
6 changed files with 26 additions and 13 deletions
|
@ -3,6 +3,7 @@
|
|||
class Report < ApplicationRecord
|
||||
belongs_to :account
|
||||
belongs_to :target_account, class_name: 'Account'
|
||||
belongs_to :action_taken_by_account, class_name: 'Account'
|
||||
|
||||
scope :unresolved, -> { where(action_taken: false) }
|
||||
scope :resolved, -> { where(action_taken: true) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue