Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/storage/schema/PhabricatorStorageSchemaSpec.php
Show All 12 Lines | $this->buildRawSchema( | ||||
'duration' => 'uint64?', | 'duration' => 'uint64?', | ||||
), | ), | ||||
array( | array( | ||||
'PRIMARY' => array( | 'PRIMARY' => array( | ||||
'columns' => array('patch'), | 'columns' => array('patch'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
)); | )); | ||||
$this->buildRawSchema( | |||||
'meta_data', | |||||
PhabricatorStorageManagementAPI::TABLE_HOSTSTATE, | |||||
array( | |||||
'stateKey' => 'text128', | |||||
'stateValue' => 'text', | |||||
), | |||||
array( | |||||
'PRIMARY' => array( | |||||
'columns' => array('stateKey'), | |||||
'unique' => true, | |||||
), | |||||
)); | |||||
} | } | ||||
} | } |