core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/DB2Platform.php 1 location
|
@@ 747-755 (lines=9) @@
|
744 |
|
/** |
745 |
|
* {@inheritdoc} |
746 |
|
*/ |
747 |
|
protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName) |
748 |
|
{ |
749 |
|
if (strpos($tableName, '.') !== false) { |
750 |
|
list($schema) = explode('.', $tableName); |
751 |
|
$oldIndexName = $schema . '.' . $oldIndexName; |
752 |
|
} |
753 |
|
|
754 |
|
return ['RENAME INDEX ' . $oldIndexName . ' TO ' . $index->getQuotedName($this)]; |
755 |
|
} |
756 |
|
|
757 |
|
/** |
758 |
|
* {@inheritDoc} |
core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/OraclePlatform.php 1 location
|
@@ 926-934 (lines=9) @@
|
923 |
|
/** |
924 |
|
* {@inheritdoc} |
925 |
|
*/ |
926 |
|
protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName) |
927 |
|
{ |
928 |
|
if (strpos($tableName, '.') !== false) { |
929 |
|
list($schema) = explode('.', $tableName); |
930 |
|
$oldIndexName = $schema . '.' . $oldIndexName; |
931 |
|
} |
932 |
|
|
933 |
|
return ['ALTER INDEX ' . $oldIndexName . ' RENAME TO ' . $index->getQuotedName($this)]; |
934 |
|
} |
935 |
|
|
936 |
|
/** |
937 |
|
* {@inheritDoc} |
core/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/PostgreSqlPlatform.php 1 location
|
@@ 682-690 (lines=9) @@
|
679 |
|
/** |
680 |
|
* {@inheritdoc} |
681 |
|
*/ |
682 |
|
protected function getRenameIndexSQL($oldIndexName, Index $index, $tableName) |
683 |
|
{ |
684 |
|
if (strpos($tableName, '.') !== false) { |
685 |
|
list($schema) = explode('.', $tableName); |
686 |
|
$oldIndexName = $schema . '.' . $oldIndexName; |
687 |
|
} |
688 |
|
|
689 |
|
return ['ALTER INDEX ' . $oldIndexName . ' RENAME TO ' . $index->getQuotedName($this)]; |
690 |
|
} |
691 |
|
|
692 |
|
/** |
693 |
|
* {@inheritdoc} |