Chatwoot/db/migrate/20200627115105_create_api_channel.rb

10 lines
223 B
Ruby
Raw Normal View History

2020-07-21 06:45:24 +00:00
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