Correct Aphlict websocket URI construction after PHP8 compatibility changes
[phabricator.git] / src / infrastructure / storage / schema / PhabricatorStorageSchemaSpec.php
blob378b49fd34a8dae0acdc3d3193d7abd3089f7eef
1 <?php
3 final class PhabricatorStorageSchemaSpec
4 extends PhabricatorConfigSchemaSpec {
6 public function buildSchemata() {
7 $this->buildRawSchema(
8 'meta_data',
9 'patch_status',
10 array(
11 'patch' => 'text128',
12 'applied' => 'uint32',
13 'duration' => 'uint64?',
15 array(
16 'PRIMARY' => array(
17 'columns' => array('patch'),
18 'unique' => true,
20 ));
22 $this->buildRawSchema(
23 'meta_data',
24 PhabricatorStorageManagementAPI::TABLE_HOSTSTATE,
25 array(
26 'stateKey' => 'text128',
27 'stateValue' => 'text',
29 array(
30 'PRIMARY' => array(
31 'columns' => array('stateKey'),
32 'unique' => true,
34 ));