feat: Add native support for CSML in agent_bot API (#4913)

This commit is contained in:
Pranav Raj S
2022-06-23 19:17:46 +05:30
committed by GitHub
parent f71980bd95
commit b7606e4dd2
26 changed files with 722 additions and 80 deletions

View File

@@ -0,0 +1,15 @@
class AddTypeToAgentBots < ActiveRecord::Migration[6.1]
def up
change_table :agent_bots, bulk: true do |t|
t.column :bot_type, :integer, default: 0
t.column :bot_config, :jsonb, default: {}
end
end
def down
change_table :agent_bots, bulk: true do |t|
t.remove :bot_type
t.remove :bot_config
end
end
end