1 | <?php |
||
32 | final class MariaDb102Platform extends MySqlPlatform |
||
33 | { |
||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | 53 | public function hasNativeJsonType(): bool |
|
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | * @link https://mariadb.com/kb/en/library/json-data-type/ |
||
45 | */ |
||
46 | 1 | public function getJsonTypeDeclarationSQL(array $field): string |
|
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | 55 | protected function getReservedKeywordsClass(): string |
|
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | 6 | protected function initializeDoctrineTypeMappings(): void |
|
68 | |||
69 | /** |
||
70 | * @inheritdoc |
||
71 | * |
||
72 | * Since MariaDB 10.2.1 blob and text columns can have a default value. |
||
73 | * @link https://mariadb.com/kb/en/library/blob-and-text-data-types/ |
||
74 | */ |
||
75 | 35 | protected function isDefaultValueSupportedForType(Type $field): bool |
|
79 | } |
||
80 |