Commit eef795a4 authored by Daniel Chesterton's avatar Daniel Chesterton Committed by Steve Müller

Simplify getUnsignedDeclaration

parent 59514e4e
......@@ -830,7 +830,7 @@ class MySqlPlatform extends AbstractPlatform
*/
private function getUnsignedDeclaration(array $columnDef)
{
return (isset($columnDef['unsigned']) && $columnDef['unsigned']) ? ' UNSIGNED' : '';
return ! empty($columnDef['unsigned']) ? ' UNSIGNED' : '';
}
/**
......
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