From 6c544b95e89ba34ca1b58195a13b022df0e9b65f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20M=C3=BCller?= Date: Sat, 20 Sep 2014 20:06:44 +0200 Subject: [PATCH] adding 'smallint unsigned' to type mapping for sqlite --- lib/private/db/sqlitemigrator.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/db/sqlitemigrator.php b/lib/private/db/sqlitemigrator.php index 94b421c5562..18e9d19d5ee 100644 --- a/lib/private/db/sqlitemigrator.php +++ b/lib/private/db/sqlitemigrator.php @@ -71,6 +71,7 @@ class SQLiteMigrator extends Migrator { protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $connection) { $platform = $connection->getDatabasePlatform(); $platform->registerDoctrineTypeMapping('tinyint unsigned', 'integer'); + $platform->registerDoctrineTypeMapping('smallint unsigned', 'integer'); return parent::getDiff($targetSchema, $connection); } -- 2.39.5