Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
primogenial
/
languages
/
wp-content-20241001222009
/
plugins
/
mailpoet
/
vendor-prefixed
/
doctrine
/
dbal
/
lib
/
Doctrine
/
DBAL
/
Platforms
:
MariaDb1027Platform.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace MailPoetVendor\Doctrine\DBAL\Platforms; if (!defined('ABSPATH')) exit; use MailPoetVendor\Doctrine\DBAL\Types\Types; class MariaDb1027Platform extends MySqlPlatform { public function getJsonTypeDeclarationSQL(array $column) : string { return 'LONGTEXT'; } protected function getReservedKeywordsClass() : string { return Keywords\MariaDb102Keywords::class; } protected function initializeDoctrineTypeMappings() : void { parent::initializeDoctrineTypeMappings(); $this->doctrineTypeMapping['json'] = Types::JSON; } }