Browse Source

thanks rubocop

pull/704/head
JG 3 years ago
parent
commit
4bf79587aa
  1. 2
      db/migrate/20220630114748_add_name_to_locations.rb
  2. 4
      db/migrate/20220630120251_change_location_type_of_unit.rb

2
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

4
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

Loading…
Cancel
Save