3 final class PhabricatorSearchIndexVersion
4 extends PhabricatorSearchDAO
{
7 protected $extensionKey;
9 protected $indexVersion;
10 protected $indexEpoch;
12 protected function getConfiguration() {
14 self
::CONFIG_TIMESTAMPS
=> false,
15 self
::CONFIG_COLUMN_SCHEMA
=> array(
16 'extensionKey' => 'text64',
17 'version' => 'text128',
18 'indexVersion' => 'bytes12',
19 'indexEpoch' => 'epoch',
21 self
::CONFIG_KEY_SCHEMA
=> array(
22 'key_object' => array(
23 'columns' => array('objectPHID', 'extensionKey'),
27 // NOTE: "bin/search index" may query this table by "indexVersion" or
28 // "indexEpoch", but this is rare and scanning the table seems fine.
31 ) + parent
::getConfiguration();