This reverts commit 1de5ce7a0e4c28acd3766fa19a9b94fd75436430.
APURLT2Q3OKS6VF4HUWI3MGENXAKSSUDXI7CQOEGCRTYJRGUNT6QC
K2WAI5SOA6DT7RZI2HD66Q6HKU7TTO7DQE2YDR24BWLEHYSCLAOAC
D5QIOJGPKQJIYBUCSC3MFJ3TXLPNZ2XMI37GXMFRVRFWWR2VMTFAC
P57OYJ4PDLDFTTWRJB4NHAIN4HHDASVRB5T5E4FAPR2DOZQLJLVAC
N22GPKYTOLZLBGTGDATQDVZ4R5APZEAOIA7L32X4UXBH4XNI7MWAC
C5W3WZ3YKLMDB7P6COIHDKSKSYDGAJBSIFIHFTEKRGSEJX7J7BNAC
drop index IndexBuildsOnJobFinishedId;create index IndexBuildsOnJobFinishedId on builds(project, jobset, job, system, finished, id DESC) where finished = 0;
drop index IndexBuildsOnJobFinishedId;
create index IndexBuildsOnJobFinishedId on builds(project, jobset, job, system, finished, id DESC) where finished = 0;
create index IndexBuildsOnJobFinishedId on builds(project, jobset, job, system, finished, id DESC);