Skip to content

Commit

Permalink
fix: pr notes check constraint status
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenkapelian committed Jul 8, 2024
1 parent 463d992 commit b3662d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DAL/migration/v.2.6.2.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SET search_path TO "JobManager", public; -- CHANGE SCHEMA NAME TO MATCH ENVIRONM
WITH marked_for_delete AS (
SELECT unnest((array_agg(id))[2:]) id
FROM "Job"
WHERE ("additionalIdentifiers" IS NULL)
WHERE ((status = 'Pending' OR status = 'In-Progress') AND ("additionalIdentifiers" IS NULL))
GROUP BY "resourceId","version","type"
), deleteTasks as (
DELETE FROM "Task"
Expand Down

0 comments on commit b3662d3

Please sign in to comment.