Skip to content

Commit

Permalink
fix TestMigration for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Dec 16, 2024
1 parent 6f84d01 commit 8ce19a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/sql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1635,7 +1635,7 @@ func RecordHostScans(ctx context.Context, tx sql.Tx, scans []api.HostScan) error
uptime = CASE WHEN ? AND last_scan > 0 AND last_scan < ? THEN uptime + ? - last_scan ELSE uptime END,
last_scan = ?,
settings = CASE WHEN ? THEN ? ELSE settings END,
v2_settings = CASE WHEN ? THEN ? ELSE settings END,
v2_settings = CASE WHEN ? THEN ? ELSE v2_settings END,
price_table = CASE WHEN ? THEN ? ELSE price_table END,
price_table_expiry = CASE WHEN ? THEN ? ELSE price_table_expiry END,
successful_interactions = CASE WHEN ? THEN successful_interactions + 1 ELSE successful_interactions END,
Expand Down

0 comments on commit 8ce19a4

Please sign in to comment.