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 bbfcf84 commit 261333bCopy full SHA for 261333b
src/Symfony/Bridge/Doctrine/SchemaListener/AbstractSchemaListener.php
@@ -12,7 +12,7 @@
12
namespace Symfony\Bridge\Doctrine\SchemaListener;
13
14
use Doctrine\DBAL\Connection;
15
-use Doctrine\DBAL\Exception\TableNotFoundException;
+use Doctrine\DBAL\Exception\DatabaseObjectNotFoundException;
16
use Doctrine\DBAL\Schema\Table;
17
use Doctrine\DBAL\Types\Types;
18
use Doctrine\ORM\Tools\Event\GenerateSchemaEventArgs;
@@ -44,7 +44,7 @@ protected function getIsSameDatabaseChecker(Connection $connection): \Closure
44
$schemaManager->dropTable($checkTable);
45
46
return false;
47
- } catch (TableNotFoundException) {
+ } catch (DatabaseObjectNotFoundException) {
48
return true;
49
}
50
};
0 commit comments