diff options
author | Christopher Baines <mail@cbaines.net> | 2019-12-04 22:03:52 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-12-12 20:07:22 +0000 |
commit | 299f9dc4807627f0f6ee3c4040893461de55f997 (patch) | |
tree | a748fcd45058cb5b65517a903c58cc67571ea9b6 /sqitch/revert | |
parent | 716eb3c3b661ab6bd5cce9235640bccbe4d478b0 (diff) | |
download | data-service-299f9dc4807627f0f6ee3c4040893461de55f997.tar data-service-299f9dc4807627f0f6ee3c4040893461de55f997.tar.gz |
Add an index on the derivation_file_name field in the builds table
As this helps when finding builds relating to specific derivations.
Diffstat (limited to 'sqitch/revert')
-rw-r--r-- | sqitch/revert/add_index_on_builds_derivation_file_name.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/revert/add_index_on_builds_derivation_file_name.sql b/sqitch/revert/add_index_on_builds_derivation_file_name.sql new file mode 100644 index 0000000..6aedcb3 --- /dev/null +++ b/sqitch/revert/add_index_on_builds_derivation_file_name.sql @@ -0,0 +1,7 @@ +-- Revert guix-data-service:add_index_on_builds_derivation_file_name from pg + +BEGIN; + +DROP INDEX builds_derivation_file_name; + +COMMIT; |