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

Add UNSIGNED generation for Decimal fields too

parent 238173f0
......@@ -812,6 +812,15 @@ class MySqlPlatform extends AbstractPlatform
return 'DOUBLE PRECISION' . $this->_getCommonIntegerTypeDeclarationSQL($field);
}
/**
* {@inheritdoc}
*/
public function getDecimalTypeDeclarationSQL(array $columnDef)
{
$declaration = parent::getDecimalTypeDeclarationSQL($columnDef);
return $declaration . $this->_getCommonIntegerTypeDeclarationSQL($columnDef);
}
/**
* {@inheritDoc}
*/
......
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