Keywords
9 months ago
MySQL
2 years ago
AbstractMySQLPlatform.php
9 months ago
AbstractPlatform.php
9 months ago
DateIntervalUnit.php
2 years ago
MariaDBPlatform.php
2 years ago
MariaDb1010Platform.php
9 months ago
MariaDb1027Platform.php
2 years ago
MariaDb1043Platform.php
2 years ago
MariaDb1052Platform.php
2 years ago
MariaDb1060Platform.php
2 years ago
MariaDb110700Platform.php
9 months ago
MySQL57Platform.php
2 years ago
MySQL80Platform.php
2 years ago
MySQL84Platform.php
9 months ago
MySQLPlatform.php
2 years ago
PostgreSQL120Platform.php
9 months ago
TrimMode.php
2 years ago
index.php
2 years ago
MariaDb1052Platform.php
21 lines
| 1 | <?php |
| 2 | namespace MailPoetVendor\Doctrine\DBAL\Platforms; |
| 3 | if (!defined('ABSPATH')) exit; |
| 4 | use MailPoetVendor\Doctrine\DBAL\Schema\Index; |
| 5 | use MailPoetVendor\Doctrine\DBAL\Schema\TableDiff; |
| 6 | class MariaDb1052Platform extends MariaDb1043Platform |
| 7 | { |
| 8 | protected function getPreAlterTableRenameIndexForeignKeySQL(TableDiff $diff) |
| 9 | { |
| 10 | return []; |
| 11 | } |
| 12 | protected function getPostAlterTableRenameIndexForeignKeySQL(TableDiff $diff) |
| 13 | { |
| 14 | return []; |
| 15 | } |
| 16 | protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName) |
| 17 | { |
| 18 | return ['ALTER TABLE ' . $tableName . ' RENAME INDEX ' . $oldIndexName . ' TO ' . $index->getQuotedName($this)]; |
| 19 | } |
| 20 | } |
| 21 |