2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00

Fix ambiguous id column in delete-from-git-commits

This commit is contained in:
Christopher Baines 2022-06-16 12:30:08 +01:00
parent 71aaf1016b
commit be45e4251e

View file

@ -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