Skip to content

Commit

Permalink
DBAL-1420 - Use safe mode for schema validation. Dropping stuff isnt …
Browse files Browse the repository at this point in the history
…necessary here.
  • Loading branch information
beberlei committed Oct 31, 2011
1 parent 6257daf commit f45d8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Tools/SchemaValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,6 @@ public function schemaInSyncWithMetadata()
$schemaTool = new SchemaTool($this->em);

$allMetadata = $this->em->getMetadataFactory()->getAllMetadata();
return (count($schemaTool->getUpdateSchemaSql($allMetadata, false)) == 0);
return (count($schemaTool->getUpdateSchemaSql($allMetadata, true)) == 0);
}
}

0 comments on commit f45d8f4

Please sign in to comment.