Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepositoryBranch.php
<?php | <?php | ||||
final class PhabricatorRepositoryBranch extends PhabricatorRepositoryDAO { | final class PhabricatorRepositoryBranch extends PhabricatorRepositoryDAO { | ||||
protected $repositoryID; | protected $repositoryID; | ||||
protected $name; | protected $name; | ||||
protected $lintCommit; | protected $lintCommit; | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'name' => 'text255', | 'name' => 'text128', | ||||
epriestley: Seems reasonable. This is only used by the saved-lint feature which is hard to use anyway. | |||||
'lintCommit' => 'text40?', | 'lintCommit' => 'text40?', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'repositoryID' => array( | 'repositoryID' => array( | ||||
'columns' => array('repositoryID', 'name'), | 'columns' => array('repositoryID', 'name'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
), | ), | ||||
Show All 23 Lines |
Seems reasonable. This is only used by the saved-lint feature which is hard to use anyway.