diff --git a/db/migrate/20220630114748_add_name_to_locations.rb b/db/migrate/20220630114748_add_name_to_locations.rb index a450fb8a6..4b94abea1 100644 --- a/db/migrate/20220630114748_add_name_to_locations.rb +++ b/db/migrate/20220630114748_add_name_to_locations.rb @@ -1,5 +1,5 @@ class AddNameToLocations < ActiveRecord::Migration[7.0] - change_table :locations, :bulk => true do |t| + change_table :locations, bulk: true do |t| t.string :name t.integer :total_units end diff --git a/db/migrate/20220630120251_change_location_type_of_unit.rb b/db/migrate/20220630120251_change_location_type_of_unit.rb index daba51278..47d1e17b6 100644 --- a/db/migrate/20220630120251_change_location_type_of_unit.rb +++ b/db/migrate/20220630120251_change_location_type_of_unit.rb @@ -1,6 +1,6 @@ class ChangeLocationTypeOfUnit < ActiveRecord::Migration[7.0] - change_table :locations, :bulk => true do |t| + change_table :locations, bulk: true do |t| t.remove :type_of_unit - t.integer :type_of_unit + t.integer :type_of_unit end end