From 418bc0858476e61cae0e97167156d41357381a1d 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 1fd3a567636..a4bde78f435 100644 --- a/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php +++ b/lib/Doctrine/DBAL/Platforms/SqlitePlatform.php @@ -637,6 +637,7 @@ protected function initializeDoctrineTypeMappings() 'real' => 'float', 'serial' => 'integer', 'smallint' => 'smallint', + 'string' => 'string', 'text' => 'text', 'time' => 'time', 'timestamp' => 'datetime',