From b27335ab74a599f1c5c8771a2ff36ef818ab84f1 Mon Sep 17 00:00:00 2001 From: Dawid 'DeyV' Polak Date: Sat, 28 Apr 2018 16:24:26 +0200 Subject: [PATCH] Added string mapping in SqlitePlatform - used by make bundle - fix 'Unknown database type string requested, Doctrine\DBAL\Platforms\SqlitePlatform may not support it.' error --- lib/Doctrine/DBAL/Platforms/SqlitePlatform.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php b/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php index 49f40f13c1b..ddaf041cf44 100644 --- a/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php +++ b/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php @@ -642,6 +642,7 @@ protected function initializeDoctrineTypeMappings() 'real' => 'float', 'serial' => 'integer', 'smallint' => 'smallint', + 'string' => 'string', 'text' => 'text', 'time' => 'time', 'timestamp' => 'datetime',