feat: Add native support for CSML in agent_bot API (#4913)
This commit is contained in:
15
db/migrate/20220622090344_add_type_to_agent_bots.rb
Normal file
15
db/migrate/20220622090344_add_type_to_agent_bots.rb
Normal 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
|
||||
Reference in New Issue
Block a user