Clarified tutorial context around introduction of orm:schema-tool:*
commands
See: http://stackoverflow.com/questions/17473225/doctrine2-no-metadata-classes-to-process for evidence of this confusion
This commit is contained in:
parent
605c32dbb3
commit
c5adfca0ed
1 changed files with 6 additions and 3 deletions
|
@ -197,9 +197,12 @@ Doctrine command-line tool:
|
||||||
$ cd project/
|
$ cd project/
|
||||||
$ php vendor/bin/doctrine orm:schema-tool:create
|
$ php vendor/bin/doctrine orm:schema-tool:create
|
||||||
|
|
||||||
During the development you probably need to re-create the database
|
At this point no entitiy metadata exists in `src` so you will see a message like
|
||||||
several times when changing the Entity metadata. You can then
|
"No Metadata Classes to process." — we'll add a Product entity and metadata soon.
|
||||||
either re-create the database:
|
|
||||||
|
You should be aware that during the development process you'll need to keep
|
||||||
|
the database schema in sync with changes to your Entities metadata.
|
||||||
|
You can easily recreate the database:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue