1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 00:42:41 +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?',
),
self::CONFIG_KEY_SCHEMA => array(
// TODO: There should be a key starting with "mockPHID" here at a
// minimum, but it's not entirely clear what other columns we should
// have as part of the key.
'key_mock' => array(
'columns' => array('mockPHID'),
),
),
) + parent::getConfiguration();
}