Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialReviewer.php
<?php | <?php | ||||
final class DifferentialReviewer | final class DifferentialReviewer | ||||
extends DifferentialDAO { | extends DifferentialDAO { | ||||
protected $revisionPHID; | protected $revisionPHID; | ||||
protected $reviewerPHID; | protected $reviewerPHID; | ||||
protected $reviewerStatus; | protected $reviewerStatus; | ||||
protected $lastActionDiffPHID; | |||||
protected $lastCommentDiffPHID; | |||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'reviewerStatus' => 'text64', | 'reviewerStatus' => 'text64', | ||||
'lastActionDiffPHID' => 'phid?', | |||||
'lastCommentDiffPHID' => 'phid?', | |||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_revision' => array( | 'key_revision' => array( | ||||
'columns' => array('revisionPHID', 'reviewerPHID'), | 'columns' => array('revisionPHID', 'reviewerPHID'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
} | } |