Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/storage/HarbormasterSchemaSpec.php
Show All 21 Lines | public function buildSchemata() { | ||||
$this->buildRawSchema( | $this->buildRawSchema( | ||||
id(new HarbormasterBuildable())->getApplicationName(), | id(new HarbormasterBuildable())->getApplicationName(), | ||||
'harbormaster_buildlogchunk', | 'harbormaster_buildlogchunk', | ||||
array( | array( | ||||
'id' => 'id', | 'id' => 'id', | ||||
'logID' => 'id', | 'logID' => 'id', | ||||
'encoding' => 'text32', | 'encoding' => 'text32', | ||||
'size' => 'uint32', | |||||
// T6203/NULLABILITY | |||||
// Both the type and nullability of this column are crazily wrong. | |||||
'size' => 'uint32?', | |||||
'chunk' => 'bytes', | 'chunk' => 'bytes', | ||||
), | ), | ||||
array( | array( | ||||
'PRIMARY' => array( | 'PRIMARY' => array( | ||||
'columns' => array('id'), | 'columns' => array('id'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
'key_log' => array( | 'key_log' => array( | ||||
'columns' => array('logID'), | 'columns' => array('logID'), | ||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
} | } |