From c5adfca0ed7dc5f84573d42b0d2129b0a4c1863e Mon Sep 17 00:00:00 2001 From: Mark Fox Date: Fri, 11 Oct 2013 15:16:46 -0700 Subject: [PATCH] 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 --- docs/en/tutorials/getting-started.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/en/tutorials/getting-started.rst b/docs/en/tutorials/getting-started.rst index 4f169cd94..e756240d3 100644 --- a/docs/en/tutorials/getting-started.rst +++ b/docs/en/tutorials/getting-started.rst @@ -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: ::