Differential D10601 Diff 25473 src/applications/repository/storage/PhabricatorRepositorySchemaSpec.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepositorySchemaSpec.php
Show All 9 Lines | public function buildSchemata() { | ||||
$this->buildTransactionSchema( | $this->buildTransactionSchema( | ||||
new PhabricatorRepositoryTransaction()); | new PhabricatorRepositoryTransaction()); | ||||
$this->buildRawSchema( | $this->buildRawSchema( | ||||
id(new PhabricatorRepository())->getApplicationName(), | id(new PhabricatorRepository())->getApplicationName(), | ||||
PhabricatorRepository::TABLE_BADCOMMIT, | PhabricatorRepository::TABLE_BADCOMMIT, | ||||
array( | array( | ||||
'fullCommitName' => 'text255', | 'fullCommitName' => 'text64', | ||||
epriestley: You could only hit 64 characters with a 23-character callsign, and there's no UI for this table. | |||||
'description' => 'text', | 'description' => 'text', | ||||
), | ), | ||||
array( | array( | ||||
'PRIMARY' => array( | 'PRIMARY' => array( | ||||
'columns' => array('fullCommitName'), | 'columns' => array('fullCommitName'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
)); | )); | ||||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |
You could only hit 64 characters with a 23-character callsign, and there's no UI for this table.