aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2022-06-16 12:30:08 +0100
committerChristopher Baines <mail@cbaines.net>2022-06-16 12:30:08 +0100
commitbe45e4251e2e2d4ad2666f25e0d884121bd85ffd (patch)
tree09aac120caf1034631dc1dee8c81b28c2e3336f9 /guix-data-service
parent71aaf1016b0298cdbece3968201e056aa09d9a3f (diff)
downloaddata-service-be45e4251e2e2d4ad2666f25e0d884121bd85ffd.tar
data-service-be45e4251e2e2d4ad2666f25e0d884121bd85ffd.tar.gz
Fix ambiguous id column in delete-from-git-commits
Diffstat (limited to 'guix-data-service')
-rw-r--r--guix-data-service/data-deletion.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix-data-service/data-deletion.scm b/guix-data-service/data-deletion.scm
index 6a189ca..5ade50f 100644
--- a/guix-data-service/data-deletion.scm
+++ b/guix-data-service/data-deletion.scm
@@ -186,7 +186,7 @@ WHERE git_repository_id = " (number->string git-repository-id) " AND
"
DELETE FROM git_commits
WHERE id IN (
- SELECT id
+ SELECT git_commits.id
FROM git_commits
INNER JOIN git_branches
ON git_branches.id = git_commits.git_branch_id