diff --git a/db/migrate/20230612075547_add_kit_allocation_type_to_kit_allocations.rb b/db/migrate/20230612075547_add_kit_allocation_type_to_kit_allocations.rb index c4fd152f55..e0a888cf8f 100644 --- a/db/migrate/20230612075547_add_kit_allocation_type_to_kit_allocations.rb +++ b/db/migrate/20230612075547_add_kit_allocation_type_to_kit_allocations.rb @@ -3,7 +3,7 @@ def change safety_assured do create_enum :kit_allocation_type, ["inventory_in", "inventory_out"] if column_exists?(:kit_allocations, :kit_allocation_type) - remove_column :kit_allocations, :kit_allocation_type) + remove_column :kit_allocations, :kit_allocation_type end change_table :kit_allocations do |t| t.enum :kit_allocation_type, enum_type: "kit_allocation_type", default: "inventory_in", null: false