From aa9f1f73cc1431864e5e7ab1cd8ea368cd10e77a Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 29 Sep 2023 14:47:07 +0200 Subject: [PATCH] Debug Oracle migrator --- lib/private/DB/OracleMigrator.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/private/DB/OracleMigrator.php b/lib/private/DB/OracleMigrator.php index 4828110074cf2..d1998a139eea4 100644 --- a/lib/private/DB/OracleMigrator.php +++ b/lib/private/DB/OracleMigrator.php @@ -34,7 +34,9 @@ use Doctrine\DBAL\Schema\ForeignKeyConstraint; use Doctrine\DBAL\Schema\Index; use Doctrine\DBAL\Schema\Schema; +use Doctrine\DBAL\Schema\SchemaDiff; use Doctrine\DBAL\Schema\Table; +use Doctrine\DBAL\Schema\TableDiff; class OracleMigrator extends Migrator { /** @@ -197,6 +199,7 @@ protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $conn return $this->quoteForeignKeyConstraint($fkc); }, $tableDiff->removedForeignKeys); } + var_dump($schemaDiff->toSql()); return $schemaDiff; }