From e31e164896dc391b7e5ec03cdfbc97351e5cea93 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Mon, 31 Oct 2011 23:12:52 +0100 Subject: [PATCH] DBAL-1420 - Use safe mode for schema validation. Dropping stuff isnt necessary here. --- lib/Doctrine/ORM/Tools/SchemaValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Tools/SchemaValidator.php b/lib/Doctrine/ORM/Tools/SchemaValidator.php index 2ddd0bf66..2c0bd94ff 100644 --- a/lib/Doctrine/ORM/Tools/SchemaValidator.php +++ b/lib/Doctrine/ORM/Tools/SchemaValidator.php @@ -246,6 +246,6 @@ class SchemaValidator $schemaTool = new SchemaTool($this->em); $allMetadata = $this->em->getMetadataFactory()->getAllMetadata(); - return (count($schemaTool->getUpdateSchemaSql($allMetadata, false)) == 0); + return (count($schemaTool->getUpdateSchemaSql($allMetadata, true)) == 0); } }