Add new derivation_output_details_set_id column to the builds table
As this will hopefully provide a faster way of associating derivations with builds.
This commit is contained in:
parent
a965ba1f6a
commit
c8b93cb0d0
6 changed files with 118 additions and 15 deletions
|
|
@ -17,6 +17,7 @@
|
|||
#:use-module (guix build utils)
|
||||
#:use-module (guix-data-service config)
|
||||
#:use-module (guix-data-service database)
|
||||
#:use-module (guix-data-service model build)
|
||||
#:use-module (guix-data-service model channel-news)
|
||||
#:use-module (guix-data-service model package)
|
||||
#:use-module (guix-data-service model git-repository)
|
||||
|
|
@ -877,6 +878,9 @@ WHERE job_id = $1"
|
|||
(inferior-data->package-derivation-ids
|
||||
conn inf inferior-package-id->package-database-id
|
||||
inferior-data-4-tuples)))
|
||||
(update-builds-derivation-output-details-set-id
|
||||
conn
|
||||
(map fourth inferior-data-4-tuples))
|
||||
|
||||
(insert-guix-revision-package-derivations conn
|
||||
guix-revision-id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue