Fix query column ambiguity

This commit is contained in:
Robur 2021-08-31 12:04:46 +00:00
parent 17420c389b
commit 16c403b6b5

View file

@ -425,7 +425,7 @@ module Build = struct
Caqti_type.(tup2 (id `build) t)
{| SELECT b.id,
b.uuid, b.start_d, b.start_ps, b.finish_d, b.finish_ps,
b.result_code, b.result_msg, console, script,
b.result_code, b.result_msg, b.console, b.script,
b.main_binary, b.input_id, b.user, b.job
FROM build b, build b0
WHERE b0.id = ? AND b0.job = b.job AND