Add an index on the derivation_file_name field in the builds table

As this helps when finding builds relating to specific derivations.
This commit is contained in:
Christopher Baines 2019-12-04 22:03:52 +01:00
parent 716eb3c3b6
commit 299f9dc480
4 changed files with 22 additions and 0 deletions

View file

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