Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93608695
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 30, 03:21
Size
919 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 03:21 (2 d)
Engine
blob
Format
Raw Data
Handle
22675351
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