Chatwoot/db/migrate/20210520200729_add_account_id_to_agent_bots.rb
2021-06-01 22:34:25 +05:30

6 lines
218 B
Ruby

class AddAccountIdToAgentBots < ActiveRecord::Migration[6.0]
def change
remove_column :agent_bots, :hide_input_for_bot_conversations, :boolean
add_reference :agent_bots, :account, foreign_key: true
end
end