Fix: SELECT WHERE syntax

This commit is contained in:
Reid 'arrdem' McKenzie 2023-07-08 17:48:07 -06:00
parent 1916e06ea2
commit 1d6eb61b69

View file

@ -58,12 +58,12 @@ WHERE
-- name: list-jobs-by-file
SELECT
*
finished_at
, (SELECT name FROM job_statuses WHERE id = j.status_id) AS `status`
FROM jobs
WHERE
file_id = :fid
, uid = :uid
AND uid = :uid
;
-- name: list-job-queue