MariaDB1060Platform extends MariaDB1060Platform uses MySQLCompatibleAlterTablePlatformAwareTrait
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.
not part of Public Core API.
Table of Contents
Methods
- getAlterTableSQL() : array<int, string>
- Gets the SQL statements for altering an existing table.
- getCustomAlterTableSQLEngineOptions() : array<int, string>
Methods
getAlterTableSQL()
Gets the SQL statements for altering an existing table.
public
getAlterTableSQL(TableDiff|TableDiff $diff) : array<int, string>
This method returns an array of SQL statements, since some platforms need several statements.
Parameters
- $diff : TableDiff|TableDiff
Return values
array<int, string>getCustomAlterTableSQLEngineOptions()
protected
getCustomAlterTableSQLEngineOptions(MariaDBPlatform|MySQLPlatform $platform, TableDiff|TableDiff $tableDiff, array<int, string> $result) : array<int, string>
Parameters
- $platform : MariaDBPlatform|MySQLPlatform
- $tableDiff : TableDiff|TableDiff
- $result : array<int, string>