Skip to content

Commit c78c5fd

Browse files
authored
Account for new MariaDB platform (#48563)
1 parent cd0a440 commit c78c5fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Illuminate/Database/DBAL/TimestampType.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
use Doctrine\DBAL\Platforms\AbstractPlatform;
77
use Doctrine\DBAL\Platforms\MariaDb1027Platform;
88
use Doctrine\DBAL\Platforms\MariaDBPlatform;
9+
use Doctrine\DBAL\Platforms\MariaDb1052Platform;
910
use Doctrine\DBAL\Platforms\MySQL57Platform;
1011
use Doctrine\DBAL\Platforms\MySQL80Platform;
1112
use Doctrine\DBAL\Platforms\MySQLPlatform;
@@ -32,7 +33,8 @@ public function getSQLDeclaration(array $column, AbstractPlatform $platform): st
3233
MySQL57Platform::class,
3334
MySQL80Platform::class,
3435
MariaDBPlatform::class,
35-
MariaDb1027Platform::class => $this->getMySqlPlatformSQLDeclaration($column),
36+
MariaDb1027Platform::class,
37+
MariaDb1052Platform::class, => $this->getMySqlPlatformSQLDeclaration($column),
3638
PostgreSQLPlatform::class,
3739
PostgreSQL94Platform::class,
3840
PostgreSQL100Platform::class => $this->getPostgresPlatformSQLDeclaration($column),

0 commit comments

Comments
 (0)