diff options
-rw-r--r-- | guix-data-service/data-deletion.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix-data-service/data-deletion.scm b/guix-data-service/data-deletion.scm index 7e319c7..3dd1dee 100644 --- a/guix-data-service/data-deletion.scm +++ b/guix-data-service/data-deletion.scm @@ -128,7 +128,8 @@ WHERE id IN (" (string-join guix-revision-ids ", ") ") AND id NOT IN ( - SELECT id FROM guix_revisions + SELECT guix_revisions.id + FROM guix_revisions INNER JOIN git_branches ON git_branches.git_repository_id = guix_revisions.git_repository_id INNER JOIN git_commits ON |