mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 10:12:34 +00:00
8 lines
167 B
Ruby
8 lines
167 B
Ruby
class RenameFbIdToSourceId < ActiveRecord::Migration[6.0]
|
|
def change
|
|
rename_column :messages, :fb_id, :source_id
|
|
|
|
add_index(:messages, :source_id)
|
|
end
|
|
end
|