mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 22:10:55 +01:00
Add a missing key to HarbormasterBuildArtifact
Summary: Fixes T10192. This key improves some common queries and is not currently present. Test Plan: See discussion in T10192. Verified current query plan of real queries is garbage and improved by adding this key. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10192 Differential Revision: https://secure.phabricator.com/D15075
This commit is contained in:
parent
7d1809f935
commit
6ebe8db380
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ final class HarbormasterBuildArtifact extends HarbormasterDAO
|
||||||
'key_garbagecollect' => array(
|
'key_garbagecollect' => array(
|
||||||
'columns' => array('artifactType', 'dateCreated'),
|
'columns' => array('artifactType', 'dateCreated'),
|
||||||
),
|
),
|
||||||
|
'key_target' => array(
|
||||||
|
'columns' => array('buildTargetPHID', 'artifactType'),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
) + parent::getConfiguration();
|
) + parent::getConfiguration();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue