protected function loadColumnSchema($info)
{
$column = new ColumnSchema();
$column->name = $info['Field'];
$column->dbType = $info['Type'];
$column->isPrimaryKey = $column->name == 'id';
$type = $info['Type'];
if (isset($this->typeMap[$type])) {
$column->type = $this->typeMap[$type];
} else {
$column->type = self::TYPE_STRING;
}
$column->isField = $type == 'field';
$column->isAttribute = !$column->isField;
$column->isMva = $type == 'mva';
$column->phpType = $this->getColumnPhpType($column);
return $column;
}