‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Database\Platform\MariaDBPlatform Class Reference
Inheritance diagram for TYPO3\CMS\Core\Database\Platform\MariaDBPlatform:
TYPO3\CMS\Core\Database\Platform\MySQLCompatibleAlterTablePlatformAwareTrait

Public Member Functions

list< string > getAlterTableSQL (TableDiff|DoctrineTableDiff $diff)
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Database\Platform\MySQLCompatibleAlterTablePlatformAwareTrait
list< string > getCustomAlterTableSQLEngineOptions (DoctrineMariaDBPlatform|DoctrineMySQLPlatform $platform, TableDiff|DoctrineTableDiff $tableDiff, array $result)
 

Detailed Description

doctrine/dbal 4+ removed the old doctrine event system. The new way is to extend the platform class(es) and directly override the methods instead of consuming events. Therefore, we need to extend the platform classes to provide some changes for TYPO3 database schema operations.

Note: doctrine/dbal 4 raised minimal supported MariaDB version to 10.4.3 which the MariaDBPlatform reflects now.

not part of Public Core API.

Definition at line 33 of file MariaDBPlatform.php.

Member Function Documentation

◆ getAlterTableSQL()

list<string> TYPO3\CMS\Core\Database\Platform\MariaDBPlatform::getAlterTableSQL ( TableDiff|DoctrineTableDiff  $diff)

Gets the SQL statements for altering an existing table.

This method returns an array of SQL statements, since some platforms need several statements.

Returns
‪list<string>

Definition at line 43 of file MariaDBPlatform.php.

References TYPO3\CMS\Core\Database\Platform\MySQLCompatibleAlterTablePlatformAwareTrait\getCustomAlterTableSQLEngineOptions().