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 DELETE FROM git_commits
WHERE id IN ( WHERE id IN (
SELECT id SELECT git_commits.id
FROM git_commits FROM git_commits
INNER JOIN git_branches INNER JOIN git_branches
ON git_branches.id = git_commits.git_branch_id ON git_branches.id = git_commits.git_branch_id