Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/storage/PhabricatorProject.php
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Lines | final class PhabricatorProject extends PhabricatorProjectDAO | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'subprojectPHIDs' => self::SERIALIZATION_JSON, | 'subprojectPHIDs' => self::SERIALIZATION_JSON, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'name' => 'text255', | 'name' => 'text128', | ||||
epriestley: Seems reasonable that no one has project names longer than 255 characters. | |||||
'status' => 'text32', | 'status' => 'text32', | ||||
'phrictionSlug' => 'text128?', | 'phrictionSlug' => 'text128?', | ||||
'isMembershipLocked' => 'bool', | 'isMembershipLocked' => 'bool', | ||||
'profileImagePHID' => 'phid?', | 'profileImagePHID' => 'phid?', | ||||
'icon' => 'text32', | 'icon' => 'text32', | ||||
'color' => 'text32', | 'color' => 'text32', | ||||
// T6203/NULLABILITY | // T6203/NULLABILITY | ||||
▲ Show 20 Lines • Show All 239 Lines • Show Last 20 Lines |
Seems reasonable that no one has project names longer than 255 characters.