Hi Denis, clean-model-files works fine, thank you. Eno, doctrine:build --all does drop the database if it existes.
On Sat, Mar 13, 2010 at 5:26 PM, Dennis Riedel <[email protected]>wrote: > Maybe this helps: > http://www.symfony-project.org/reference/1_4/en/A-What-s-New > > Clean Model Files > > You can automate the above process and find out what models exist on the > disk but do not exist in your YAML schema files by using the > doctrine:clean-model-files task. > > $ php symfony doctrine:clean-model-files > > The above command will compare your YAML schema files with the models and > files that have been generated and determine what should be removed. These > models are then passed on to the doctrine:delete-model-files task. It will > ask you to confirm the removal of any files before actually deleting > anything. > Regards, > Dennis > > > On Sat, Mar 13, 2010 at 4:47 PM, Eno <[email protected]> wrote: > >> On Sat, 13 Mar 2010, Kieu Anh Tuan wrote: >> >> > Hi, I have symfony 1.4.4-DEV installed (checked out from the main >> > repository), my question is about Doctrine. >> > >> > When I add a new table "Post" in schema.yml and then do a doctrine:build >> > --all, a new table "Post" is created in the database, which is totally >> > normal. Then I decided to remove the newly added "Post" table from >> > schema.yml, then do a doctrine:build --all again and the "Post" table is >> > still in the database, is that normal? >> >> Build all probably doesn't drop the database. Look at one of the reload >> tasks instead. >> >> >> >> -- >> >> >> -- >> If you want to report a vulnerability issue on symfony, please send it to >> security at symfony-project.com >> >> You received this message because you are subscribed to the Google >> Groups "symfony users" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected]<symfony-users%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/symfony-users?hl=en >> > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<symfony-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
