1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-10 23:01:04 +01:00

Restore a Mock key to Pholio Images

Summary: Ref T11351. We only query for images by PHID or by Mock, so the only key we need for now is `<mockPHID>`.

Test Plan: Ran `bin/storage upgrade`.

Reviewers: amckinley

Reviewed By: amckinley

Maniphest Tasks: T11351

Differential Revision: https://secure.phabricator.com/D19934
This commit is contained in:
epriestley 2018-12-22 14:16:16 -08:00
parent e469f8594e
commit b3faa2874c

View file

@ -37,9 +37,9 @@ final class PholioImage extends PholioDAO
'replacesImagePHID' => 'phid?', 'replacesImagePHID' => 'phid?',
), ),
self::CONFIG_KEY_SCHEMA => array( self::CONFIG_KEY_SCHEMA => array(
// TODO: There should be a key starting with "mockPHID" here at a 'key_mock' => array(
// minimum, but it's not entirely clear what other columns we should 'columns' => array('mockPHID'),
// have as part of the key. ),
), ),
) + parent::getConfiguration(); ) + parent::getConfiguration();
} }