Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97588602
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
Sun, Jan 5, 12:37
Size
919 B
Mime Type
text/x-php
Expires
Tue, Jan 7, 12:37 (2 d)
Engine
blob
Format
Raw Data
Handle
23431781
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