From 70a05b32b85a566b3d58c915f97922070dfc3c82 Mon Sep 17 00:00:00 2001 From: Hedzer Date: Wed, 25 Sep 2024 15:19:55 +0200 Subject: [PATCH] don't cast decimal to float in builder --- lib/Doctrine/Import/Builder.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index 4a7150d2..eb4cff10 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -670,9 +670,8 @@ private function getPhpType($databaseType) case 'timestamp': case 'datetime': case 'date': - return 'string'; case 'decimal': - return 'float'; + return 'string'; } return null; }