1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-03 20:22:46 +01:00
phorge-phorge/src/applications/people/storage/PhabricatorUserSchemaSpec.php

27 lines
564 B
PHP
Raw Normal View History

<?php
final class PhabricatorUserSchemaSpec extends PhabricatorConfigSchemaSpec {
public function buildSchemata() {
$this->buildEdgeSchemata(new PhabricatorUser());
$this->buildRawSchema(
id(new PhabricatorUser())->getApplicationName(),
PhabricatorUser::NAMETOKEN_TABLE,
array(
'token' => 'sort255',
'userID' => 'id',
),
array(
'token' => array(
'columns' => array('token(128)'),
),
'userID' => array(
'columns' => array('userID'),
),
));
}
}