mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 03:02:43 +01:00
27 lines
600 B
PHP
27 lines
600 B
PHP
|
<?php
|
||
|
|
||
|
final class PhabricatorSearchIndexVersion
|
||
|
extends PhabricatorSearchDAO {
|
||
|
|
||
|
protected $objectPHID;
|
||
|
protected $extensionKey;
|
||
|
protected $version;
|
||
|
|
||
|
protected function getConfiguration() {
|
||
|
return array(
|
||
|
self::CONFIG_TIMESTAMPS => false,
|
||
|
self::CONFIG_COLUMN_SCHEMA => array(
|
||
|
'extensionKey' => 'text64',
|
||
|
'version' => 'text128',
|
||
|
),
|
||
|
self::CONFIG_KEY_SCHEMA => array(
|
||
|
'key_object' => array(
|
||
|
'columns' => array('objectPHID', 'extensionKey'),
|
||
|
'unique' => true,
|
||
|
),
|
||
|
),
|
||
|
) + parent::getConfiguration();
|
||
|
}
|
||
|
|
||
|
}
|