Add an index for derivation_sources.derivation_source_file_id

As this speeds up deleting derivation_source_files.
This commit is contained in:
Christopher Baines 2020-10-02 20:13:28 +01:00
parent 71afa93981
commit e2a7705d3d
4 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,7 @@
-- Revert guix-data-service:add_derivation_sources_derivation_source_file_id_index from pg
BEGIN;
-- XXX Add DDLs here.
COMMIT;