Commit b3cb9ed7 authored by Steve Müller's avatar Steve Müller

add additional integer type mapping occurring in SQL Anywhere 16

parent 9975da98
......@@ -1500,6 +1500,7 @@ class SQLAnywherePlatform extends AbstractPlatform
'double' => 'float',
'float' => 'float',
'int' => 'integer',
'integer' => 'integer',
'unsigned int' => 'integer',
'numeric' => 'decimal',
'smallint' => 'smallint',
......
......@@ -755,6 +755,9 @@ class SQLAnywherePlatformTest extends AbstractPlatformTestCase
public function testInitializesDoctrineTypeMappings()
{
$this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('integer'));
$this->assertSame('integer', $this->_platform->getDoctrineTypeMapping('integer'));
$this->assertTrue($this->_platform->hasDoctrineTypeMappingFor('binary'));
$this->assertSame('binary', $this->_platform->getDoctrineTypeMapping('binary'));
......
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