Skip to content

Commit

Permalink
don't cast decimal to float in builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedzer committed Sep 25, 2024
1 parent c51c795 commit 70a05b3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Doctrine/Import/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -670,9 +670,8 @@ private function getPhpType($databaseType)
case 'timestamp':
case 'datetime':
case 'date':
return 'string';
case 'decimal':
return 'float';
return 'string';
}
return null;
}
Expand Down

0 comments on commit 70a05b3

Please sign in to comment.