Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialRevision.php
| Show First 20 Lines • Show All 96 Lines • ▼ Show 20 Lines | return array( | ||||
| 'unique' => true, | 'unique' => true, | ||||
| ), | ), | ||||
| 'authorPHID' => array( | 'authorPHID' => array( | ||||
| 'columns' => array('authorPHID', 'status'), | 'columns' => array('authorPHID', 'status'), | ||||
| ), | ), | ||||
| 'repositoryPHID' => array( | 'repositoryPHID' => array( | ||||
| 'columns' => array('repositoryPHID'), | 'columns' => array('repositoryPHID'), | ||||
| ), | ), | ||||
| // If you (or a project you are a member of) is reviewing a significant | |||||
| // fraction of the revisions on an install, the result set of open | |||||
| // revisions may be smaller than the result set of revisions where you | |||||
| // are a reviewer. In these cases, this key is better than keys on the | |||||
| // edge table. | |||||
| 'key_status' => array( | |||||
| 'columns' => array('status', 'phid'), | |||||
| ), | |||||
| ), | ), | ||||
| ) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
| } | } | ||||
| public function getMonogram() { | public function getMonogram() { | ||||
| $id = $this->getID(); | $id = $this->getID(); | ||||
| return "D{$id}"; | return "D{$id}"; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 514 Lines • Show Last 20 Lines | |||||