Commit e7874c44 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-354' into 2.3

parents 9194fc00 b920dc74
......@@ -631,13 +631,7 @@ class SQLServerPlatform extends AbstractPlatform
*/
protected function _getCommonIntegerTypeDeclarationSQL(array $columnDef)
{
$autoinc = '';
if (!empty($columnDef['autoincrement'])) {
$autoinc = ' IDENTITY';
}
$unsigned = (isset($columnDef['unsigned']) && $columnDef['unsigned']) ? ' UNSIGNED' : '';
return $unsigned . $autoinc;
return (!empty($columnDef['autoincrement'])) ? ' IDENTITY' : '';
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment