Commit 55236785 authored by Marco Pivetta's avatar Marco Pivetta

Adding test that verifies that unsigned declaration is ignored for auto-inc integers

parent ce3a56ef
...@@ -63,6 +63,14 @@ class SqlitePlatformTest extends AbstractPlatformTestCase ...@@ -63,6 +63,14 @@ class SqlitePlatformTest extends AbstractPlatformTestCase
$this->assertTrue($this->_platform->prefersIdentityColumns()); $this->assertTrue($this->_platform->prefersIdentityColumns());
} }
public function testIgnoresUnsignedIntegerDeclarationForAutoIncrementalIntegers()
{
$this->assertSame(
'INTEGER',
$this->_platform->getIntegerTypeDeclarationSQL(array('autoincrement' => true, 'unsigned' => true))
);
}
/** /**
* @group DBAL-752 * @group DBAL-752
*/ */
......
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