Fix: アカウント削除時エラーが出る問題
This commit is contained in:
parent
428abf33f2
commit
aadde1bbaa
3 changed files with 8 additions and 0 deletions
|
@ -19,6 +19,7 @@ module Account::Associations
|
|||
has_many :conversations, class_name: 'AccountConversation', dependent: :destroy, inverse_of: :account
|
||||
has_many :scheduled_statuses, inverse_of: :account, dependent: :destroy
|
||||
has_many :scheduled_expiration_statuses, inverse_of: :account, dependent: :destroy
|
||||
has_many :ng_rule_histories, inverse_of: :account, dependent: :destroy
|
||||
|
||||
# Notifications
|
||||
has_many :notifications, inverse_of: :account, dependent: :destroy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue