Skip to content

Commit

Permalink
fix migration failing
Browse files Browse the repository at this point in the history
  • Loading branch information
david-loe committed Aug 23, 2024
1 parent 09a46e3 commit 2190721
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,9 @@ export async function checkForMigrations() {
factorOvernightLumpSumExceptions: oldSettings.factorOvernightLumpSumExceptions,
fallBackLumpSumCountry: oldSettings.fallBackLumpSumCountry,
secoundNightOnAirplaneLumpSumCountry: oldSettings.secoundNightOnAirplaneLumpSumCountry,
secoundNightOnShipOrFerryLumpSumCountry: oldSettings.secoundNightOnShipOrFerryLumpSumCountry
secoundNightOnShipOrFerryLumpSumCountry: oldSettings.secoundNightOnShipOrFerryLumpSumCountry,
minHoursOfTravel: 8, // fix migration failing
minProfessionalShare: 0.5 // fix migration failing
} as any
await settings.save()
} else {
Expand Down

0 comments on commit 2190721

Please sign in to comment.