ed1c871633
- Integrations architecture - Slack integration
15 lines
388 B
Ruby
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
|