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

[DBAL-1082] Fix SchemaTool does not generate SQL for MySQL unsigned float

parent c1eae738
...@@ -804,6 +804,14 @@ class MySqlPlatform extends AbstractPlatform ...@@ -804,6 +804,14 @@ class MySqlPlatform extends AbstractPlatform
return 'SMALLINT' . $this->_getCommonIntegerTypeDeclarationSQL($field); return 'SMALLINT' . $this->_getCommonIntegerTypeDeclarationSQL($field);
} }
/**
* {@inheritdoc}
*/
public function getFloatDeclarationSQL(array $field)
{
return 'DOUBLE PRECISION' . $this->_getCommonIntegerTypeDeclarationSQL($field);
}
/** /**
* {@inheritDoc} * {@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