1
0
Fork 0
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:
epriestley 2016-01-21 10:18:00 -08:00
parent 7d1809f935
commit 6ebe8db380

View file

@ -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();
} }