Skip to content

Commit

Permalink
add explicit case for zero in double column to sanitizeValue method
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyUss committed Sep 13, 2015
1 parent c75988e commit dccc7b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions migration/FromMySqlToPostgreSql/FromMySqlToPostgreSql.php
Expand Up @@ -485,6 +485,7 @@ private function sanitizeValue($strValue)
switch ($strValue) {
case '0':
return '0';

case '0000-00-00 00:00:00':
case '0000-00-00':
return '-INFINITY';
Expand Down

0 comments on commit dccc7b6

Please sign in to comment.