7 lines
184 B
7 lines
184 B
3 years ago
|
class RenameUnitsFromLocations < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
rename_column :locations, :total_units, :units
|
||
|
add_column :schemes, :total_units, :integer
|
||
|
end
|
||
|
end
|