We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dabd45c commit da2fe07Copy full SHA for da2fe07
src/bundle/RepositoryInstaller/Installer/CoreInstaller.php
@@ -99,8 +99,7 @@ protected function getDropSqlStatementsForExistingSchema(
99
): array {
100
$existingSchema = $this->db->getSchemaManager()->createSchema();
101
$statements = [];
102
- // reverse table order for clean-up (due to FKs)
103
- $tables = array_reverse($newSchema->getTables());
+ $tables = $newSchema->getTables();
104
if ($databasePlatform->supportsForeignKeyConstraints()) {
105
// cleanup pre-existing database: drop foreign keys
106
foreach ($tables as $table) {
0 commit comments