Fix Build_{artifact,file}.add query
This commit is contained in:
parent
a7be8f8f47
commit
a57798f4c0
1 changed files with 2 additions and 2 deletions
|
@ -142,7 +142,7 @@ module Build_artifact = struct
|
||||||
Caqti_request.exec
|
Caqti_request.exec
|
||||||
Caqti_type.(tup2 file id)
|
Caqti_type.(tup2 file id)
|
||||||
"INSERT INTO build_artifact (filepath, localpath, sha256, size, build)
|
"INSERT INTO build_artifact (filepath, localpath, sha256, size, build)
|
||||||
VALUES (?, ?, ?, ?)"
|
VALUES (?, ?, ?, ?, ?)"
|
||||||
|
|
||||||
let remove_by_build =
|
let remove_by_build =
|
||||||
Caqti_request.exec
|
Caqti_request.exec
|
||||||
|
@ -195,7 +195,7 @@ module Build_file = struct
|
||||||
Caqti_request.exec
|
Caqti_request.exec
|
||||||
Caqti_type.(tup2 file id)
|
Caqti_type.(tup2 file id)
|
||||||
"INSERT INTO build_file (filepath, localpath, sha256, size, build)
|
"INSERT INTO build_file (filepath, localpath, sha256, size, build)
|
||||||
VALUES (?, ?, ?, ?)"
|
VALUES (?, ?, ?, ?, ?)"
|
||||||
|
|
||||||
let remove_by_build =
|
let remove_by_build =
|
||||||
Caqti_request.exec
|
Caqti_request.exec
|
||||||
|
|
Loading…
Reference in a new issue