php - Doctrine 2 Migrations Workflow -


i developing web application using zend framework 2 , doctrine 2. i'm new doctrine 2 in general , migrations in particular. wondering if there recommended best practices in using this. specific things i'm looking for:

  • a recommended workflow development deployment?
  • do include pre-populating data in migrations?
  • how handle reverting previous version if migration fails.

many thanks!

doctrine has own library migrations, includes symfony bundle.

for zend there some bundle well (maybe seek on github bit more)

as specific questions:

  1. nothing special. basic workflow nicely described in symfony bundle documentation. use in pretty same way in different framework.

  2. yes, every developer has operational system. tests use data-fixtures minimal required data only.

  3. it's managed package itself.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -