diff --git a/app/models/concerns/account_interactions.rb b/app/models/concerns/account_interactions.rb index 38c53a82..311afca8 100644 --- a/app/models/concerns/account_interactions.rb +++ b/app/models/concerns/account_interactions.rb @@ -67,6 +67,7 @@ module AccountInteractions has_many :group_accounts, inverse_of: :account, dependent: :destroy, source: :account has_many :groups, through: :group_accounts + has_many :group_removed_accounts, inverse_of: :account, dependent: :destroy, source: :account # Block relationships has_many :block_relationships, class_name: 'Block', foreign_key: 'account_id', dependent: :destroy