Chore: Replaced dependent destroy with dependent destroy_async in all models (#3249)
This commit is contained in:
@@ -3,7 +3,7 @@ module Channelable
|
||||
included do
|
||||
validates :account_id, presence: true
|
||||
belongs_to :account
|
||||
has_one :inbox, as: :channel, dependent: :destroy
|
||||
has_one :inbox, as: :channel, dependent: :destroy_async
|
||||
end
|
||||
|
||||
def has_24_hour_messaging_window?
|
||||
|
||||
Reference in New Issue
Block a user