1
0
mirror of synced 2025-03-24 08:53:52 +03:00

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:
Mark Fox 2013-10-11 15:16:46 -07:00
parent 605c32dbb3
commit c5adfca0ed

View File

@ -197,9 +197,12 @@ Doctrine command-line tool:
$ cd project/
$ php vendor/bin/doctrine orm:schema-tool:create
During the development you probably need to re-create the database
several times when changing the Entity metadata. You can then
either re-create the database:
At this point no entitiy metadata exists in `src` so you will see a message like
"No Metadata Classes to process." — we'll add a Product entity and metadata soon.
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:
::