Added missing group_removed_accounts in AccountInteractions

• Added:
- missing group_removed_accounts in AccountInteractions
This commit is contained in:
mgabdev 2021-01-19 01:26:28 -05:00
parent 51fa8f2eb4
commit 96b154831d

View File

@ -67,6 +67,7 @@ module AccountInteractions
has_many :group_accounts, inverse_of: :account, dependent: :destroy, source: :account has_many :group_accounts, inverse_of: :account, dependent: :destroy, source: :account
has_many :groups, through: :group_accounts has_many :groups, through: :group_accounts
has_many :group_removed_accounts, inverse_of: :account, dependent: :destroy, source: :account
# Block relationships # Block relationships
has_many :block_relationships, class_name: 'Block', foreign_key: 'account_id', dependent: :destroy has_many :block_relationships, class_name: 'Block', foreign_key: 'account_id', dependent: :destroy