Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/people/storage/PhabricatorUserSchemaSpec.php
12256 views
1
<?php
2
3
final class PhabricatorUserSchemaSpec extends PhabricatorConfigSchemaSpec {
4
5
public function buildSchemata() {
6
$this->buildEdgeSchemata(new PhabricatorUser());
7
8
$this->buildRawSchema(
9
id(new PhabricatorUser())->getApplicationName(),
10
PhabricatorUser::NAMETOKEN_TABLE,
11
array(
12
'token' => 'sort255',
13
'userID' => 'id',
14
),
15
array(
16
'token' => array(
17
'columns' => array('token(128)'),
18
),
19
'userID' => array(
20
'columns' => array('userID'),
21
),
22
));
23
24
}
25
26
}
27
28