Chore: Replaced dependent destroy with dependent destroy_async in all models (#3249)
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#
|
||||
class Team < ApplicationRecord
|
||||
belongs_to :account
|
||||
has_many :team_members, dependent: :destroy
|
||||
has_many :team_members, dependent: :destroy_async
|
||||
has_many :members, through: :team_members, source: :user
|
||||
has_many :conversations, dependent: :nullify
|
||||
|
||||
|
||||
Reference in New Issue
Block a user