Chatwoot/db/migrate/20210425093724_convert_integration_hook_settings_field.rb

7 lines
219 B
Ruby
Raw Normal View History

class ConvertIntegrationHookSettingsField < ActiveRecord::Migration[6.0]
def change
remove_column :integrations_hooks, :settings, :text
add_column :integrations_hooks, :settings, :jsonb, default: {}
end
end