This might help with doing recursive queries on the derivations graph.
7 lines
192 B
PL/PgSQL
7 lines
192 B
PL/PgSQL
-- Deploy guix-data-service:derivation_outputs_id_and_derivation_id_idx to pg
|
|
|
|
BEGIN;
|
|
|
|
CREATE INDEX derivation_outputs_id_and_derivation_id ON derivation_outputs (id, derivation_id);
|
|
|
|
COMMIT;
|