Chatwoot/db/migrate/20210520200729_add_account_id_to_agent_bots.rb

7 lines
218 B
Ruby
Raw Permalink Normal View History

2021-06-01 17:04:25 +00:00
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