Skip to content

Commit

Permalink
EPMRPP-95322 || Job 'CleanLaunchcron' doesn't clean the attachments f…
Browse files Browse the repository at this point in the history
…or 'Regular' launches
  • Loading branch information
APiankouski committed Sep 17, 2024
1 parent 614f643 commit 6ef5659
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ WITH moved_rows AS (
DELETE FROM attachment\s
WHERE project_id = ?\s
AND creation_date <= ?::TIMESTAMP\s
AND launch_id IN (
SELECT id FROM launch WHERE retention_policy='REGULAR'
AND launch_id NOT IN (
SELECT id FROM launch WHERE retention_policy='IMPORTANT'
)\s
RETURNING *
)
Expand Down

0 comments on commit 6ef5659

Please sign in to comment.