Chore: Replaced dependent destroy with dependent destroy_async in all models (#3249)
This commit is contained in:
@@ -32,7 +32,7 @@ class ContactInbox < ApplicationRecord
|
||||
belongs_to :contact
|
||||
belongs_to :inbox
|
||||
|
||||
has_many :conversations, dependent: :destroy
|
||||
has_many :conversations, dependent: :destroy_async
|
||||
|
||||
def webhook_data
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user