8 lines
233 B
Ruby
8 lines
233 B
Ruby
|
# The foreign key from event and lug to region was badly named
|
||
|
class RenameRegionForeignKey < ActiveRecord::Migration
|
||
|
def change
|
||
|
rename_column :events, :region, :region_id
|
||
|
rename_column :lugs, :region, :region_id
|
||
|
end
|
||
|
end
|