Hi guys. I want to use the symfony tasks for the doctrine migration but I can't find any consistent piece of information.
I read this: - http://www.doctrine-project.org/documentation/manual/1_2/en/migrations and this: - http://www.symfony-project.org/reference/1_4/en/16-Tasks#chapter_16_sub_doctrine_generate_migrations_db and I've watched these slides: - http://www.slideshare.net/weaverryan/the-art-of-doctrine-migrations and those ones: - http://www.slideshare.net/denderello/symfony-live-2010-using-doctrine-migrations Sometimes it says that the generate-migrations-db will make a comparison between the db and the schema.yml and generate the classes, sometimes it says that it will just take the db and make the classes. I don't see the point of the second information, but this is what happens for me. Whatever is in the schema.yml is not taken in consideration, and I end up with migration classes that just create the same db that I have and not the updates from my yml files. Same thing for generate-migrations-models. My models are the same than the db, but not than the yml files. But whatever, the migration classes just a copy of the model and doesn't pay attention to the yml files. I've tried the last one: generate-migrations-models. According to some of the links it actually does the difference between the yml files and the model (well, on some other links it's the definition of the generate-migrations-models function, so I don't get it...). I can't really see the model because it lamentably failed with a ToPrfx... something class not found. Anybody to lighten me up on that? Cheers in advance, Guill -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en