Page MenuHomec4science

PhabricatorStorageSchemaSpec.php
No OneTemporary

File Metadata

Created
Tue, May 13, 16:42

PhabricatorStorageSchemaSpec.php

<?php
final class PhabricatorStorageSchemaSpec
extends PhabricatorConfigSchemaSpec {
public function buildSchemata() {
$this->buildRawSchema(
'meta_data',
'patch_status',
array(
'patch' => 'text128',
'applied' => 'uint32',
'duration' => 'uint64?',
),
array(
'PRIMARY' => array(
'columns' => array('patch'),
'unique' => true,
),
));
$this->buildRawSchema(
'meta_data',
PhabricatorStorageManagementAPI::TABLE_HOSTSTATE,
array(
'stateKey' => 'text128',
'stateValue' => 'text',
),
array(
'PRIMARY' => array(
'columns' => array('stateKey'),
'unique' => true,
),
));
}
}

Event Timeline