899176a793
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
12 lines
314 B
Ruby
12 lines
314 B
Ruby
class AddSubscriptionsToWebhooks < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_column :webhooks, :subscriptions, :jsonb, default: %w[
|
|
conversation_status_changed
|
|
conversation_updated
|
|
conversation_created
|
|
message_created
|
|
message_updated
|
|
webwidget_triggered
|
|
]
|
|
end
|
|
end
|