Add index on derivation_outputs id and derivation_id fields

This might help with doing recursive queries on the derivations graph.
This commit is contained in:
Christopher Baines 2022-11-12 10:42:04 +00:00
parent fb9d99a076
commit fc5f562731
4 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,7 @@
-- Verify guix-data-service:derivation_outputs_id_and_derivation_id_idx on pg
BEGIN;
-- XXX Add verifications here.
ROLLBACK;