Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepositoryCommit.php
Show All 15 Lines | implements | ||||
PhabricatorApplicationTransactionInterface, | PhabricatorApplicationTransactionInterface, | ||||
PhabricatorFulltextInterface, | PhabricatorFulltextInterface, | ||||
PhabricatorFerretInterface, | PhabricatorFerretInterface, | ||||
PhabricatorConduitResultInterface, | PhabricatorConduitResultInterface, | ||||
PhabricatorDraftInterface { | PhabricatorDraftInterface { | ||||
protected $repositoryID; | protected $repositoryID; | ||||
protected $phid; | protected $phid; | ||||
protected $authorIdentityPHID; | |||||
protected $committerIdentityPHID; | |||||
protected $commitIdentifier; | protected $commitIdentifier; | ||||
protected $epoch; | protected $epoch; | ||||
protected $mailKey; | protected $mailKey; | ||||
protected $authorPHID; | protected $authorPHID; | ||||
protected $auditStatus = PhabricatorAuditCommitStatusConstants::NONE; | protected $auditStatus = PhabricatorAuditCommitStatusConstants::NONE; | ||||
protected $summary = ''; | protected $summary = ''; | ||||
protected $importStatus = 0; | protected $importStatus = 0; | ||||
▲ Show 20 Lines • Show All 76 Lines • ▼ Show 20 Lines | final class PhabricatorRepositoryCommit | ||||
protected function getConfiguration() { | protected function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_TIMESTAMPS => false, | self::CONFIG_TIMESTAMPS => false, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'commitIdentifier' => 'text40', | 'commitIdentifier' => 'text40', | ||||
'mailKey' => 'bytes20', | 'mailKey' => 'bytes20', | ||||
'authorPHID' => 'phid?', | 'authorPHID' => 'phid?', | ||||
'authorIdentityPHID' => 'phid?', | |||||
'committerIdentityPHID' => 'phid?', | |||||
'auditStatus' => 'uint32', | 'auditStatus' => 'uint32', | ||||
'summary' => 'text255', | 'summary' => 'text255', | ||||
'importStatus' => 'uint32', | 'importStatus' => 'uint32', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_phid' => null, | 'key_phid' => null, | ||||
'phid' => array( | 'phid' => array( | ||||
'columns' => array('phid'), | 'columns' => array('phid'), | ||||
▲ Show 20 Lines • Show All 625 Lines • Show Last 20 Lines |