aboutsummaryrefslogtreecommitdiff
path: root/sqitch/verify
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-12-04 22:03:52 +0100
committerChristopher Baines <mail@cbaines.net>2019-12-12 20:07:22 +0000
commit299f9dc4807627f0f6ee3c4040893461de55f997 (patch)
treea748fcd45058cb5b65517a903c58cc67571ea9b6 /sqitch/verify
parent716eb3c3b661ab6bd5cce9235640bccbe4d478b0 (diff)
downloaddata-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/verify')
-rw-r--r--sqitch/verify/add_index_on_builds_derivation_file_name.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/verify/add_index_on_builds_derivation_file_name.sql b/sqitch/verify/add_index_on_builds_derivation_file_name.sql
new file mode 100644
index 0000000..3f03487
--- /dev/null
+++ b/sqitch/verify/add_index_on_builds_derivation_file_name.sql
@@ -0,0 +1,7 @@
+-- Verify guix-data-service:add_index_on_builds_derivation_file_name on pg
+
+BEGIN;
+
+-- XXX Add verifications here.
+
+ROLLBACK;