Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / applications / people / storage / PhabricatorUserSchemaSpec.php
blob4d9bab1b4fc85c0814eb01b36cf079af91463b79
1 <?php
3 final class PhabricatorUserSchemaSpec extends PhabricatorConfigSchemaSpec {
5 public function buildSchemata() {
6 $this->buildEdgeSchemata(new PhabricatorUser());
8 $this->buildRawSchema(
9 id(new PhabricatorUser())->getApplicationName(),
10 PhabricatorUser::NAMETOKEN_TABLE,
11 array(
12 'token' => 'sort255',
13 'userID' => 'id',
15 array(
16 'token' => array(
17 'columns' => array('token(128)'),
19 'userID' => array(
20 'columns' => array('userID'),
22 ));