diff options
author | Christopher Baines <mail@cbaines.net> | 2019-09-29 12:04:57 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2019-09-29 12:04:57 +0100 |
commit | bd47a03c220bdd9ad66088075f66b61d291aeaa8 (patch) | |
tree | b8427ae360ee93d7773f462911365237ad25b2eb /sqitch/revert | |
parent | 580900b0f4c295d8fc1633464a17a9de70747a77 (diff) | |
download | data-service-bd47a03c220bdd9ad66088075f66b61d291aeaa8.tar data-service-bd47a03c220bdd9ad66088075f66b61d291aeaa8.tar.gz |
Add migration to create an index on load_new_guix_revision_job_events
To speed up the rendering of the index page.
Diffstat (limited to 'sqitch/revert')
-rw-r--r-- | sqitch/revert/index_on_load_new_guix_revision_job_events_job_id.sql | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sqitch/revert/index_on_load_new_guix_revision_job_events_job_id.sql b/sqitch/revert/index_on_load_new_guix_revision_job_events_job_id.sql new file mode 100644 index 0000000..9e85447 --- /dev/null +++ b/sqitch/revert/index_on_load_new_guix_revision_job_events_job_id.sql @@ -0,0 +1,7 @@ +-- Revert guix-data-service:index_on_load_new_guix_revision_job_events_job_id from pg + +BEGIN; + +DROP INDEX load_new_guix_revision_job_events_job_id; + +COMMIT; |