forked from doctrine/dbal
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 3.7.x: Update database list and vendors Trigger runtime deprecations for legacy API Update Docker image location for IBM DB2 Leverage "shivammathur/setup-php" action for "ibm_db2" extension install Add MariaDB1052Platform Add 3.7.x branch [SCA] Restrict the possible values for the casing options under the `Portability\` NS Ensure the pg_depend relation is for a table object.
- Loading branch information
Showing
20 changed files
with
333 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Doctrine\DBAL\Platforms; | ||
|
||
use Doctrine\DBAL\Schema\Index; | ||
use Doctrine\DBAL\Schema\TableDiff; | ||
|
||
/** | ||
* Provides the behavior, features and SQL dialect of the MariaDB 10.5 (10.5.2 GA) database platform. | ||
* | ||
* Note: Should not be used with versions prior to 10.5.2. | ||
*/ | ||
class MariaDB1052Platform extends MariaDBPlatform | ||
{ | ||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function getPreAlterTableRenameIndexForeignKeySQL(TableDiff $diff): array | ||
{ | ||
return AbstractMySQLPlatform::getPreAlterTableRenameIndexForeignKeySQL($diff); | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function getPostAlterTableIndexForeignKeySQL(TableDiff $diff): array | ||
{ | ||
return AbstractMySQLPlatform::getPostAlterTableIndexForeignKeySQL($diff); | ||
} | ||
|
||
/** | ||
* {@inheritdoc} | ||
*/ | ||
protected function getRenameIndexSQL(string $oldIndexName, Index $index, $tableName): array | ||
{ | ||
return ['ALTER TABLE ' . $tableName . ' RENAME INDEX ' . $oldIndexName . ' TO ' . $index->getQuotedName($this)]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.