Commit b920dc74 authored by Daniel Anderson Tiecher's avatar Daniel Anderson Tiecher Committed by Benjamin Eberlei

Removed unsigned integer test as SQL Server doesn't support unsigned integers.

parent 9194fc00
...@@ -631,13 +631,7 @@ class SQLServerPlatform extends AbstractPlatform ...@@ -631,13 +631,7 @@ class SQLServerPlatform extends AbstractPlatform
*/ */
protected function _getCommonIntegerTypeDeclarationSQL(array $columnDef) protected function _getCommonIntegerTypeDeclarationSQL(array $columnDef)
{ {
$autoinc = ''; return (!empty($columnDef['autoincrement'])) ? ' IDENTITY' : '';
if (!empty($columnDef['autoincrement'])) {
$autoinc = ' IDENTITY';
}
$unsigned = (isset($columnDef['unsigned']) && $columnDef['unsigned']) ? ' UNSIGNED' : '';
return $unsigned . $autoinc;
} }
/** /**
......
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