Page MenuHomePhorge

PhabricatorUserSchemaSpec.php
No OneTemporary

Size
914 B
Referenced Files
None
Subscribers
None

PhabricatorUserSchemaSpec.php

<?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'),
),
'userID' => array(
'columns' => array('userID'),
),
));
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 12, 1:18 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
122677
Default Alt Text
PhabricatorUserSchemaSpec.php (914 B)

Event Timeline