Speed up finding the locales for a revision

This commit is contained in:
Christopher Baines 2022-09-14 10:26:03 +01:00
parent 12af30c039
commit e3062abf33
5 changed files with 51 additions and 15 deletions

View file

@ -0,0 +1,7 @@
-- Deploy guix-data-service:package_derivations_id_package_id_idx to pg
BEGIN;
CREATE INDEX package_derivations_id_package_id_idx ON package_derivations (id, package_id) WITH (fillfactor='100');
COMMIT;