database: Fix regression.

Fix a regression introduced by cbc462679d.

* src/cuirass/database.scm (db-get-builds): Collect BuildProducts id field.
This commit is contained in:
Mathieu Othacehe 2021-01-17 11:53:47 +01:00
parent 508ed333a6
commit 53d8b66bf9
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 1 additions and 1 deletions

View File

@ -997,7 +997,7 @@ FROM
(SELECT B.id, B.derivation, B.name,
string_agg(Outputs.name, ',') AS outputs_name,
string_agg(Outputs.path, ',') AS outputs_path,
string_agg(cast(BP.build AS text), ',') AS bp_build,
string_agg(cast(BP.id AS text), ',') AS bp_build,
string_agg(BP.type, ',') AS bp_type,
string_agg(cast(BP.file_size AS text), ',') AS bp_file_size,
string_agg(BP.checksum, ',') AS bp_checksum,