1
0
mirror of synced 2025-02-22 07:03:13 +03:00

Updated SchemaTool usage docs with mapping paths information example

This commit is contained in:
Benjamin Eberlei 2010-04-10 12:04:23 +02:00
parent 8aed5c72df
commit 997ef97521

View File

@ -169,6 +169,13 @@ for the ran operation.
Before using the orm:schema-tool commands, remember to configure your cli-config.php properly.
> **NOTE**
>
> When using the Annotation Mapping Driver you have to either setup your autoloader in the cli-config.php
> correctly to find all the entities, or you can use the second argument of the `EntityManagerHelper` to
> specifiy all the paths of your entities (or mapping files), i.e.
> `new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($em, $mappingPaths);`
++ Convert Mapping Information
Doctrine comes with some special tools for working with the various supported