Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUserEmail.php
Show All 11 Lines | final class PhabricatorUserEmail extends PhabricatorUserDAO { | ||||
protected $isPrimary; | protected $isPrimary; | ||||
protected $verificationCode; | protected $verificationCode; | ||||
const MAX_ADDRESS_LENGTH = 128; | const MAX_ADDRESS_LENGTH = 128; | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'address' => 'text128', | 'address' => 'sort128', | ||||
'isVerified' => 'bool', | 'isVerified' => 'bool', | ||||
'isPrimary' => 'bool', | 'isPrimary' => 'bool', | ||||
'verificationCode' => 'text64?', | 'verificationCode' => 'text64?', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'address' => array( | 'address' => array( | ||||
'columns' => array('address'), | 'columns' => array('address'), | ||||
'unique' => true, | 'unique' => true, | ||||
▲ Show 20 Lines • Show All 248 Lines • Show Last 20 Lines |