Skip to content

Commit b085683

Browse files
Merge branch '6.4' into 7.3
* 6.4: [Cache] Fix internal representation of non-static values [Cache] Make `TagAwareAdapter` registrable as a service refactor: Unify & more humane translation message fix Resources translations validators.pt.xlf [Security] Pass attributes to nested `ChainUserProviders` [Validator] Update translation for the Video constraint [Messenger] Firebird Database - incompatibility with expected lowercase columns SQLSRV: Change column type from TEXT to STRING Fix exception catch when deleting temporary table in the sameDatabaseChecker [Serializer] Fix serializer crash due to asymmetric visibility on `protected(set)` properties
2 parents b371ded + 3d87dbd commit b085683

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SchemaListener/AbstractSchemaListener.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Bridge\Doctrine\SchemaListener;
1313

1414
use Doctrine\DBAL\Connection;
15+
use Doctrine\DBAL\Exception\DatabaseObjectNotFoundException;
1516
use Doctrine\DBAL\Exception\TableNotFoundException;
1617
use Doctrine\DBAL\Schema\Name\Identifier;
1718
use Doctrine\DBAL\Schema\Name\UnqualifiedName;
@@ -52,7 +53,7 @@ protected function getIsSameDatabaseChecker(Connection $connection): \Closure
5253
$schemaManager->dropTable($checkTable);
5354

5455
return false;
55-
} catch (TableNotFoundException) {
56+
} catch (DatabaseObjectNotFoundException) {
5657
return true;
5758
}
5859
};

0 commit comments

Comments
 (0)