IndexJobsetEvalsOnJobsetId: Only index jobsets with new builds

This commit is contained in:
Eelco Dolstra
2015-07-10 15:41:57 +02:00
parent b09f7e0989
commit 3bb9e17e5c
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -0,0 +1,2 @@
drop index IndexJobsetEvalsOnJobsetId;
create index IndexJobsetEvalsOnJobsetId on JobsetEvals(project, jobset, id desc) where hasNewBuilds = 1;