Skip to content

Commit 7e4be89

Browse files
fix(#367): change to uppercase the return value of getSQLDeclaration (#368)
Co-authored-by: Martin Georgiev <martin-georgiev@users.noreply.github.com>
1 parent c5f7327 commit 7e4be89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MartinGeorgiev/Doctrine/DBAL/Types/BaseType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getSQLDeclaration(array $fieldDeclaration, AbstractPlatform $pla
2525
{
2626
$this->throwExceptionIfTypeNameNotConfigured();
2727

28-
return $platform->getDoctrineTypeMapping(static::TYPE_NAME);
28+
return \strtoupper($platform->getDoctrineTypeMapping(static::TYPE_NAME));
2929
}
3030

3131
public function getName(): string

0 commit comments

Comments
 (0)