Fix Build_{artifact,file}.add query

This commit is contained in:
Reynir Björnsson 2021-03-04 14:32:58 +01:00
parent a7be8f8f47
commit a57798f4c0

View file

@ -142,7 +142,7 @@ module Build_artifact = struct
Caqti_request.exec
Caqti_type.(tup2 file id)
"INSERT INTO build_artifact (filepath, localpath, sha256, size, build)
VALUES (?, ?, ?, ?)"
VALUES (?, ?, ?, ?, ?)"
let remove_by_build =
Caqti_request.exec
@ -195,7 +195,7 @@ module Build_file = struct
Caqti_request.exec
Caqti_type.(tup2 file id)
"INSERT INTO build_file (filepath, localpath, sha256, size, build)
VALUES (?, ?, ?, ?)"
VALUES (?, ?, ?, ?, ?)"
let remove_by_build =
Caqti_request.exec