Add an index on package_derivations_by_guix_revision_range

This helps render the package version range related pages.
This commit is contained in:
Christopher Baines 2022-06-17 12:51:10 +01:00
parent 22c2ed2fa7
commit 3b5950024b
4 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,7 @@
-- Deploy guix-data-service:package_range_index to pg
BEGIN;
CREATE INDEX range_package_name_idx ON package_derivations_by_guix_revision_range (package_name);
COMMIT;