about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
Diffstat (limited to 'app/models')
-rw-r--r--app/models/destructing_status.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/destructing_status.rb b/app/models/destructing_status.rb
index 70bfc28d2..79f17e67d 100644
--- a/app/models/destructing_status.rb
+++ b/app/models/destructing_status.rb
@@ -6,10 +6,12 @@
 #  status_id       :bigint(8)        not null
 #  after           :datetime         not null
 #  defederate_only :boolean          default(FALSE), not null
+#  account_id      :bigint(8)        not null
 #
 
 class DestructingStatus < ApplicationRecord
   belongs_to :status, inverse_of: :destruct
+  belongs_to :account, inverse_of: :destructing_statuses
 
   validates :status_id, uniqueness: true
 end