mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 18:22:53 +00:00
10 lines
565 B
Ruby
10 lines
565 B
Ruby
class UpdateDefaultOnSubscriptionsWebhooks < ActiveRecord::Migration[6.1]
|
|
def change
|
|
change_column_default :webhooks, :subscriptions,
|
|
from: %w[conversation_status_changed conversation_updated conversation_created
|
|
message_created message_updated webwidget_triggered],
|
|
to: %w[conversation_status_changed conversation_updated conversation_created
|
|
contact_created contact_updated message_created message_updated webwidget_triggered]
|
|
end
|
|
end
|