Changeset View
Changeset View
Standalone View
Standalone View
src/applications/people/storage/PhabricatorUserProfile.php
<?php | <?php | ||||
final class PhabricatorUserProfile extends PhabricatorUserDAO { | final class PhabricatorUserProfile extends PhabricatorUserDAO { | ||||
protected $userPHID; | protected $userPHID; | ||||
protected $title; | protected $title; | ||||
protected $blurb; | protected $blurb; | ||||
protected $profileImagePHID; | protected $profileImagePHID; | ||||
public function getConfiguration() { | |||||
return array( | |||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'title' => 'text255', | |||||
'blurb' => 'text', | |||||
'profileImagePHID' => 'phid?', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'userPHID' => array( | |||||
'columns' => array('userPHID'), | |||||
'unique' => true, | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | |||||
} | |||||
} | } |