Skip to content

Commit

Permalink
Debug Oracle migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
nickvergessen committed Sep 29, 2023
1 parent 67b2adf commit aa9f1f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/private/DB/OracleMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
/**
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit aa9f1f7

Please sign in to comment.