Differential D10593 Diff 25468 src/applications/repository/storage/PhabricatorRepositoryRefCursor.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/storage/PhabricatorRepositoryRefCursor.php
Show All 24 Lines | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_TIMESTAMPS => false, | self::CONFIG_TIMESTAMPS => false, | ||||
self::CONFIG_BINARY => array( | self::CONFIG_BINARY => array( | ||||
'refNameRaw' => true, | 'refNameRaw' => true, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'refType' => 'text32', | 'refType' => 'text32', | ||||
'refNameHash' => 'bytes12', | 'refNameHash' => 'bytes12', | ||||
'refNameEncoding' => 'text16', | |||||
'commitIdentifier' => 'text40', | 'commitIdentifier' => 'text40', | ||||
// T6203/NULLABILITY | |||||
// This probably should not be nullable; refNameRaw is not nullable. | |||||
'refNameEncoding' => 'text16?', | |||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_cursor' => array( | 'key_cursor' => array( | ||||
'columns' => array('repositoryPHID', 'refType', 'refNameHash'), | 'columns' => array('repositoryPHID', 'refType', 'refNameHash'), | ||||
), | ), | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |