Add an extra index on blocked_builds
I think this might help with queries that don't use the build_server_id.
This commit is contained in:
parent
7e7cd3f5a9
commit
a6f239fb8a
4 changed files with 23 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
-- Deploy guix-data-service:blocked_builds_blocked_builds_blocked_derivation_output_details_set_id_2 to pg
|
||||
|
||||
BEGIN;
|
||||
|
||||
CREATE INDEX blocked_builds_blocked_derivation_output_details_set_id_2
|
||||
ON blocked_builds (blocked_derivation_output_details_set_id);
|
||||
|
||||
COMMIT;
|
||||
Loading…
Add table
Add a link
Reference in a new issue