News Feed

News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Daniel Cousineau's Blog:
Doctrine Migrations Proper
October 21, 2009 @ 09:57:11

Daniel Cousineau has posted a quick guide to migrating database information with Doctrine:

I was talking with someone [...] here at ZendCon and discovered that they were having trouble with migrations in Doctrine. Having gone through the same issues of Doctrine seemingly not being able to figure out your changes and generate migration classes, I thought I'd post the solution here for future reference.

It's four quick steps that'll get Doctrine to automatically generate the differences (deltas) and upgrade your models to reflect these changes.

0 comments voice your opinion now!
doctrine migration tip yaml

blog comments powered by Disqus

Similar Posts

Chris Shiflett's Blog: PHP Advent Calendar 2007 Blog: PHP 5.4 with traits, Doctrine 2.2 and then Symfony3?

SitePoint PHP Blog: Getting Started with Symfony2 Route Annotations

Ivo Jansch's Blog: PHP4 to 5 migration webinar Validating PHP User Sessions

Community Events

Don't see your event here?
Let us know!

tool community version security install library opinion introduction interview composer update package series voicesoftheelephpant symfony language framework laravel release podcast

All content copyright, 2014 :: - Powered by the Solar PHP Framework