Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/storage/PhabricatorOwnersPackage.php
Show All 33 Lines | final class PhabricatorOwnersPackage extends PhabricatorOwnersDAO | ||||
} | } | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
// This information is better available from the history table. | // This information is better available from the history table. | ||||
self::CONFIG_TIMESTAMPS => false, | self::CONFIG_TIMESTAMPS => false, | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'name' => 'text255', | 'name' => 'text128', | ||||
epriestley: Eventually we should probably not require this to be unique, but for now it seems reasonable… | |||||
'originalName' => 'text255', | 'originalName' => 'text255', | ||||
'description' => 'text', | 'description' => 'text', | ||||
'primaryOwnerPHID' => 'phid?', | 'primaryOwnerPHID' => 'phid?', | ||||
'auditingEnabled' => 'bool', | 'auditingEnabled' => 'bool', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_phid' => null, | 'key_phid' => null, | ||||
'phid' => array( | 'phid' => array( | ||||
▲ Show 20 Lines • Show All 389 Lines • Show Last 20 Lines |
Eventually we should probably not require this to be unique, but for now it seems reasonable that packages probably don't have names longer than 128 characters.