Merge pull request #818 from mfdj/master
Clarified tutorial context in section introducing `orm:scehma-tool:*` commands
This commit is contained in:
commit
1e10fca66a
@ -196,9 +196,14 @@ 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." Don't worry, we'll create a Product entity and
|
||||||
either re-create the database:
|
corresponding metadata in the next section.
|
||||||
|
|
||||||
|
You should be aware that during the development process you'll periodically need
|
||||||
|
to update your database schema to be in sync with your Entities metadata.
|
||||||
|
|
||||||
|
You can easily recreate the database:
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user