1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-15 19:32:40 +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' => 'text255',
'userID' => 'id',
),
array(
'token' => array(
'columns' => array('token(128)'),
),
'userID' => array(
'columns' => array('userID'),
),
));
}
}