diff options
author | Christopher Baines <mail@cbaines.net> | 2022-11-12 10:42:04 +0000 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-11-12 10:42:04 +0000 |
commit | fc5f562731bc32fe53ccc4f913f697a63a093fdc (patch) | |
tree | b6ce03b5dae9536195f954a70e556ba3c9b120e6 /sqitch/revert | |
parent | fb9d99a076ac3b4211f6dd96e125ee8d5d1477ef (diff) | |
download | data-service-fc5f562731bc32fe53ccc4f913f697a63a093fdc.tar data-service-fc5f562731bc32fe53ccc4f913f697a63a093fdc.tar.gz |
Add index on derivation_outputs id and derivation_id fields
This might help with doing recursive queries on the derivations graph.
Diffstat (limited to 'sqitch/revert')
-rw-r--r-- | sqitch/revert/derivation_outputs_id_and_derivation_id_idx.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/revert/derivation_outputs_id_and_derivation_id_idx.sql b/sqitch/revert/derivation_outputs_id_and_derivation_id_idx.sql new file mode 100644 index 0000000..aaefb3a --- /dev/null +++ b/sqitch/revert/derivation_outputs_id_and_derivation_id_idx.sql @@ -0,0 +1,7 @@ +-- Revert guix-data-service:derivation_outputs_id_and_derivation_id_idx from pg + +BEGIN; + +-- XXX Add DDLs here. + +COMMIT; |