Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/schema/PhabricatorConfigSchemaSpec.php
Show First 20 Lines • Show All 164 Lines • ▼ Show 20 Lines | $this->buildRawSchema( | ||||
PhabricatorLiskDAO::COUNTER_TABLE_NAME, | PhabricatorLiskDAO::COUNTER_TABLE_NAME, | ||||
array( | array( | ||||
'counterName' => 'text32', | 'counterName' => 'text32', | ||||
'counterValue' => 'id64', | 'counterValue' => 'id64', | ||||
), | ), | ||||
array( | array( | ||||
'PRIMARY' => array( | 'PRIMARY' => array( | ||||
'columns' => array('counterName'), | 'columns' => array('counterName'), | ||||
'unique' => true, | |||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
protected function getDatabase($name) { | protected function getDatabase($name) { | ||||
$server = $this->getServer(); | $server = $this->getServer(); | ||||
$database = $server->getDatabase($this->getNamespacedDatabase($name)); | $database = $server->getDatabase($this->getNamespacedDatabase($name)); | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |