private function getSchemaType($column)
{
if ($column->autoIncrement && !$column->unsigned) {
return $column->type === 'bigint' ? $this->type('bigpk') : $this->type('pk');
}
if ($column->dbType === 'tinyint(1)') {
return $this->type('boolean');
}
if ($column->enumValues !== null) {
return "\"{$column->dbType}\"";
}
return $this->type($column->type);
}