News for hackers. Stuff that matters.
Re:Why we don't schedule deployments during off-hours by sokoloff on Monday October 25, 2010 @11:34AM (#1830215)
If you release the new code only after the DB changes are complete, the new code doesn't need to be backwards compatible.

The above guidelines are designed to provide no-change to the queries the old code is running, so that should be possible to accomplish for 95+% of your migrations.

For truly long-running migrations (longer than you're willing to wait to push code), you're correct that the new code must handle both cases. In our case, that's extremely rarely a factor, but we also don't push on every commit (nor even every day) like some shops do.

There are no comments on this comment yet.