diff options
Diffstat (limited to 'sqitch/deploy/derivations_hash_index.sql')
-rw-r--r-- | sqitch/deploy/derivations_hash_index.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/deploy/derivations_hash_index.sql b/sqitch/deploy/derivations_hash_index.sql new file mode 100644 index 0000000..869ff0a --- /dev/null +++ b/sqitch/deploy/derivations_hash_index.sql @@ -0,0 +1,7 @@ +-- Deploy guix-data-service:derivations_hash_index to pg + +BEGIN; + +CREATE INDEX derivations_hash ON derivations (substring(file_name from 12 for 32)); + +COMMIT; |