Skip to content

Commit

Permalink
Fixed wrong timeshift when column is type of DATE
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiří Svěcený authored and hrach committed Jan 12, 2019
1 parent ba10241 commit df0cf9b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Mapper/Dbal/StorageReflection/StorageReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,10 @@ protected function getDefaultModifiers(): array
break;

case 'mysql':
$types = ['DATETIME' => true];
$types = [
'DATETIME' => true,
'DATE' => true,
];
break;

case 'mssql':
Expand Down

0 comments on commit df0cf9b

Please sign in to comment.