Merge pull request #846 from grahamc/buildoutputs-index-hash-path
BuildOutputs: index path with HASH
This commit is contained in:
commit
6bb876cb35
|
@ -613,6 +613,8 @@ create index IndexJobsetEvalMembersOnEval on JobsetEvalMembers(eval);
|
|||
create index IndexJobsetInputAltsOnInput on JobsetInputAlts(project, jobset, input);
|
||||
create index IndexJobsetInputAltsOnJobset on JobsetInputAlts(project, jobset);
|
||||
create index IndexProjectsOnEnabled on Projects(enabled);
|
||||
create index IndexBuildOutputsPath on BuildOutputs using hash(path);
|
||||
|
||||
|
||||
-- For hydra-update-gc-roots.
|
||||
create index IndexBuildsOnKeep on Builds(keep) where keep = 1;
|
||||
|
|
1
src/sql/upgrade-69.sql
Normal file
1
src/sql/upgrade-69.sql
Normal file
|
@ -0,0 +1 @@
|
|||
create index IndexBuildOutputsPath on BuildOutputs using hash(path);
|
Loading…
Reference in a new issue