I am developing a web application using Zend Framework 2 and Doctrine 2. I'm new to Doctrine 2 in general and Migrations in particular. I was wondering if there are any recommended best practices in using this. Some specific things I'm looking for:
- A recommended workflow from development to deployment?
- Do you include pre-populating data in migrations?
- How to handle reverting to a previous version if migration fails.
Many thanks!