From fe40150d68a510b141676d3663537ba66edbeacd 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 1488621b941..bf8953db0d6 100644 --- a/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php +++ b/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php @@ -620,6 +620,7 @@ protected function initializeDoctrineTypeMappings() 'real' => 'float', 'serial' => 'integer', 'smallint' => 'smallint', + 'string' => 'string', 'text' => 'text', 'time' => 'time', 'timestamp' => 'datetime',