Updated SchemaTool usage docs with mapping paths information example
This commit is contained in:
parent
8aed5c72df
commit
997ef97521
@ -169,6 +169,13 @@ for the ran operation.
|
|||||||
|
|
||||||
Before using the orm:schema-tool commands, remember to configure your cli-config.php properly.
|
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
|
++ Convert Mapping Information
|
||||||
|
|
||||||
Doctrine comes with some special tools for working with the various supported
|
Doctrine comes with some special tools for working with the various supported
|
||||||
|
Loading…
x
Reference in New Issue
Block a user