Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/harbormaster/storage/HarbormasterSchemaSpec.php
12256 views
1
<?php
2
3
final 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
}
27
28