File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/Symfony/Component/Messenger/Bridge/Doctrine/Transport Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 2727use Doctrine \DBAL \Schema \AbstractAsset ;
2828use Doctrine \DBAL \Schema \AbstractSchemaManager ;
2929use Doctrine \DBAL \Schema \Comparator ;
30+ use Doctrine \DBAL \Schema \ComparatorConfig ;
3031use Doctrine \DBAL \Schema \Schema ;
3132use Doctrine \DBAL \Schema \SchemaDiff ;
3233use Doctrine \DBAL \Schema \Synchronizer \SchemaSynchronizer ;
@@ -614,6 +615,10 @@ private function createSchemaManager(): AbstractSchemaManager
614615
615616 private function createComparator (AbstractSchemaManager $ schemaManager ): Comparator
616617 {
618+ if (class_exists (ComparatorConfig::class)) {
619+ return $ schemaManager ->createComparator ((new ComparatorConfig ())->withReportModifiedIndexes (false ));
620+ }
621+
617622 return method_exists ($ schemaManager , 'createComparator ' )
618623 ? $ schemaManager ->createComparator ()
619624 : new Comparator ();
You can’t perform that action at this time.
0 commit comments