Chatwoot/db/migrate/20200206180927_rename_fb_id_to_source_id.rb

8 lines
167 B
Ruby
Raw Normal View History

class RenameFbIdToSourceId < ActiveRecord::Migration[6.0]
def change
rename_column :messages, :fb_id, :source_id
add_index(:messages, :source_id)
end
end