Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorExternalAccount.php
Show All 38 Lines | return array( | ||||
self::CONFIG_SERIALIZATION => array( | self::CONFIG_SERIALIZATION => array( | ||||
'properties' => self::SERIALIZATION_JSON, | 'properties' => self::SERIALIZATION_JSON, | ||||
), | ), | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'userPHID' => 'phid?', | 'userPHID' => 'phid?', | ||||
'accountType' => 'text16', | 'accountType' => 'text16', | ||||
'accountDomain' => 'text64', | 'accountDomain' => 'text64', | ||||
'accountSecret' => 'text?', | 'accountSecret' => 'text?', | ||||
'accountID' => 'text160', | 'accountID' => 'text64', | ||||
epriestley: We don't control this but it's unlikely that any provider has ids longer than 64 characters. | |||||
'displayName' => 'text255?', | 'displayName' => 'text255?', | ||||
'username' => 'text255?', | 'username' => 'text255?', | ||||
'realName' => 'text255?', | 'realName' => 'text255?', | ||||
'email' => 'text255?', | 'email' => 'text255?', | ||||
'emailVerified' => 'bool', | 'emailVerified' => 'bool', | ||||
'profileImagePHID' => 'phid?', | 'profileImagePHID' => 'phid?', | ||||
'accountURI' => 'text255?', | 'accountURI' => 'text255?', | ||||
), | ), | ||||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |
We don't control this but it's unlikely that any provider has ids longer than 64 characters.