Skip to content

Commit 5f5a7e5

Browse files
author
Christian Kolb
committed
Add without time zone to moment type
1 parent 381e41c commit 5f5a7e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Doctrine/MomentType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static function getClass(): string
3131
public function getSQLDeclaration(array $column, AbstractPlatform $platform): string
3232
{
3333
if ($platform instanceof PostgreSQLPlatform) {
34-
return 'TIMESTAMP(6)';
34+
return 'TIMESTAMP(6) WITHOUT TIME ZONE';
3535
}
3636

3737
if ($platform instanceof MySQLPlatform) {

0 commit comments

Comments
 (0)