Make database changes to help with deleting entries in the nars table
This commit is contained in:
parent
7495085f63
commit
1461aa037f
7 changed files with 74 additions and 0 deletions
9
sqitch/deploy/nar_indexes.sql
Normal file
9
sqitch/deploy/nar_indexes.sql
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- Deploy guix-data-service:nar_indexes to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE INDEX narinfo_signatures_narinfo_signature_data_id ON narinfo_signatures (narinfo_signature_data_id);;;;
|
||||
|
||||
CREATE INDEX nar_references_nar_id ON nar_references (nar_id);
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue