1
0
Fork 0
mirror of synced 2025-03-28 19:03:50 +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/ $ 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:
:: ::