2014-05-01 18:23:31 -07:00
|
|
|
<?php
|
|
|
|
|
|
|
|
final class PhabricatorSystemDestructionLog extends PhabricatorSystemDAO {
|
|
|
|
|
|
|
|
protected $objectClass;
|
|
|
|
protected $rootLogID;
|
|
|
|
protected $objectPHID;
|
|
|
|
protected $objectMonogram;
|
|
|
|
protected $epoch;
|
|
|
|
|
2015-01-14 06:47:05 +11:00
|
|
|
protected function getConfiguration() {
|
2014-05-01 18:23:31 -07:00
|
|
|
return array(
|
|
|
|
self::CONFIG_TIMESTAMPS => false,
|
2014-09-19 05:45:24 -07:00
|
|
|
self::CONFIG_COLUMN_SCHEMA => array(
|
|
|
|
'objectClass' => 'text128',
|
|
|
|
'rootLogID' => 'id?',
|
|
|
|
'objectPHID' => 'phid?',
|
|
|
|
'objectMonogram' => 'text64?',
|
|
|
|
),
|
2014-10-01 07:53:50 -07:00
|
|
|
self::CONFIG_KEY_SCHEMA => array(
|
|
|
|
'key_epoch' => array(
|
|
|
|
'columns' => array('epoch'),
|
|
|
|
),
|
|
|
|
),
|
2014-05-01 18:23:31 -07:00
|
|
|
) + parent::getConfiguration();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|