Fix: アカウント削除時エラーが出る問題

This commit is contained in:
KMY 2024-10-09 20:24:12 +09:00
parent 428abf33f2
commit aadde1bbaa
3 changed files with 8 additions and 0 deletions

View file

@ -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