Chatwoot/db/migrate/20161025070152_removechannelsfrommodels.rb

7 lines
172 B
Ruby
Raw Normal View History

class Removechannelsfrommodels < ActiveRecord::Migration[5.0]
def change
remove_column :contacts, :channel_id
add_column :contacts, :inbox_id, :integer
end
end