@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
phorge
phabricator
1<?php
2
3final class HarbormasterSchemaSpec extends PhabricatorConfigSchemaSpec {
4
5 public function buildSchemata() {
6 $this->buildEdgeSchemata(new HarbormasterBuildable());
7
8 // NOTE: This table is not used by any Harbormaster objects, but is used
9 // by unit tests.
10 $this->buildRawSchema(
11 id(new HarbormasterObject())->getApplicationName(),
12 PhabricatorLiskDAO::COUNTER_TABLE_NAME,
13 array(
14 'counterName' => 'text32',
15 'counterValue' => 'id64',
16 ),
17 array(
18 'PRIMARY' => array(
19 'columns' => array('counterName'),
20 'unique' => true,
21 ),
22 ));
23
24 }
25
26}