aboutsummaryrefslogtreecommitdiff
path: root/sqitch/deploy/derivation_outputs_id_and_derivation_id_idx.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sqitch/deploy/derivation_outputs_id_and_derivation_id_idx.sql')
-rw-r--r--sqitch/deploy/derivation_outputs_id_and_derivation_id_idx.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/deploy/derivation_outputs_id_and_derivation_id_idx.sql b/sqitch/deploy/derivation_outputs_id_and_derivation_id_idx.sql
new file mode 100644
index 0000000..1ec8e12
--- /dev/null
+++ b/sqitch/deploy/derivation_outputs_id_and_derivation_id_idx.sql
@@ -0,0 +1,7 @@
+-- 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;