Fix more of rebuilding one of the tables
This commit is contained in:
parent
3596eceed5
commit
40035bcf9a
1 changed files with 2 additions and 2 deletions
|
|
@ -54,7 +54,7 @@ WHERE git_repository_id = $1 AND
|
|||
"
|
||||
INSERT INTO package_derivations_by_guix_revision_range
|
||||
SELECT DISTINCT
|
||||
$1,
|
||||
$2,
|
||||
packages.name AS package_name,
|
||||
packages.version AS package_version,
|
||||
revision_packages.derivation_id AS derivation_id,
|
||||
|
|
@ -101,7 +101,7 @@ ORDER BY packages.name, packages.version")
|
|||
conn
|
||||
(string-append
|
||||
"
|
||||
CREATE TABLE package_derivations_by_guix_revision_range_git_branch_"
|
||||
CREATE TABLE IF NOT EXISTS package_derivations_by_guix_revision_range_git_branch_"
|
||||
(number->string git-branch-id) "
|
||||
PARTITION OF package_derivations_by_guix_revision_range FOR VALUES IN ("
|
||||
(number->string git-branch-id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue