Skip to content

Commit 326504a

Browse files
committed
Merge pull request #160 from lucchese/patch-2
Update DoctrineCommand.php
2 parents fce0e7a + bc17e39 commit 326504a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Command/DoctrineCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static function configureMigrations(ContainerInterface $container, Config
5959
$configuration->setName($container->getParameter('doctrine_migrations.name'));
6060
}
6161
// For backward compatibility, need use a table from parameters for overwrite the default configuration
62-
if (!$configuration->getMigrationsTableName() || !($configuration instanceof AbstractFileConfiguration)) {
62+
if (!($configuration instanceof AbstractFileConfiguration) || !$configuration->getMigrationsTableName()) {
6363
$configuration->setMigrationsTableName($container->getParameter('doctrine_migrations.table_name'));
6464
}
6565
// Migrations is not register from configuration loader

0 commit comments

Comments
 (0)