Renames the model and related stuff from Legislation to LegacyLegislation to avoid name clashes with the future Legislation module.
7 lines
219 B
Ruby
7 lines
219 B
Ruby
class RenameLegislationsToLegacyLegislations < ActiveRecord::Migration
|
|
def change
|
|
rename_table :legislations, :legacy_legislations
|
|
rename_column :annotations, :legislation_id, :legacy_legislation_id
|
|
end
|
|
end
|