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
|