Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92733064
PhabricatorUserSchemaSpec.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Nov 23, 06:11
Size
919 B
Mime Type
text/x-php
Expires
Mon, Nov 25, 06:11 (2 d)
Engine
blob
Format
Raw Data
Handle
22499783
Attached To
rPH Phabricator
PhabricatorUserSchemaSpec.php
View Options
<?php
final
class
PhabricatorUserSchemaSpec
extends
PhabricatorConfigSchemaSpec
{
public
function
buildSchemata
()
{
$this
->
buildLiskSchemata
(
'PhabricatorUserDAO'
);
$this
->
buildEdgeSchemata
(
new
PhabricatorUser
());
$this
->
buildTransactionSchema
(
new
PhabricatorUserTransaction
());
$this
->
buildCustomFieldSchemata
(
new
PhabricatorUserConfiguredCustomFieldStorage
(),
array
(
new
PhabricatorUserCustomFieldNumericIndex
(),
new
PhabricatorUserCustomFieldStringIndex
(),
));
$this
->
buildRawSchema
(
id
(
new
PhabricatorUser
())->
getApplicationName
(),
PhabricatorUser
::
NAMETOKEN_TABLE
,
array
(
'token'
=>
'text255'
,
'userID'
=>
'id'
,
),
array
(
'token'
=>
array
(
'columns'
=>
array
(
'token(128)'
),
),
'userID'
=>
array
(
'columns'
=>
array
(
'userID'
),
),
));
}
}
Event Timeline
Log In to Comment