chore: Add sla policy association to conversation (#7360)

Adds the sla policy association to the conversation

Fixes: https://linear.app/chatwoot/issue/CW-1615/applying-an-sla-to-the-conversation
This commit is contained in:
Sojan Jose
2023-06-21 14:48:50 +05:30
committed by GitHub
parent 93d8157a55
commit 595e6e79f0
8 changed files with 32 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
# contact_inbox_id :bigint
# display_id :integer not null
# inbox_id :integer not null
# sla_policy_id :bigint
# team_id :bigint
#
# Indexes
@@ -294,3 +295,5 @@ class Conversation < ApplicationRecord
"NEW.display_id := nextval('conv_dpid_seq_' || NEW.account_id);"
end
end
Conversation.include_mod_with('EnterpriseConversationConcern')