S: remove RETURNING from deleted_builds CTE
@@ -33,7 +33,6 @@ func (cl *checkLifecycle) DeleteCompletedChecks() error {
deleted_builds AS
(
DELETE FROM builds USING deletable_builds WHERE builds.id = deletable_builds.id
- RETURNING builds.id
)
DELETE FROM check_build_events USING deletable_builds WHERE build_id = deletable_builds.id
`)
