Chatwoot/db/migrate/20200627115105_create_api_channel.rb
2020-07-21 12:15:24 +05:30

9 lines
223 B
Ruby

class CreateApiChannel < ActiveRecord::Migration[6.0]
def change
create_table :channel_api do |t|
t.integer :account_id, null: false
t.string :webhook_url, null: false
t.timestamps
end
end
end