Files
chatwoot/db/migrate/20230209033203_update_default_on_subscriptions_webhooks.rb
2023-02-13 13:28:27 -08:00

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