Chatwoot/db/migrate/20200430163438_create_integrations_hooks.rb
Subin T P ed1c871633
Feature: Slack integration (#783)
- Integrations architecture
- Slack integration
2020-06-12 23:12:47 +05:30

15 lines
388 B
Ruby

class CreateIntegrationsHooks < ActiveRecord::Migration[6.0]
def change
create_table :integrations_hooks do |t|
t.integer :status, default: 0
t.integer :inbox_id
t.integer :account_id
t.string :app_id
t.text :settings
t.integer :hook_type, default: 0
t.string :reference_id
t.string :access_token
t.timestamps
end
end
end