On Feb 11, 2008, at 8:01 AM, Gregory Seidman wrote:

On a related note, what support is there for rolling back not just a deploy but migrations as well? Let's call the currently deployed version A and the older version we're rolling back to B. If I want to rollback to B I need to figure out what migration version B wants, migrate the DB to that version before changing the symlink to point to B, then change the symlink. Is that
supported?

There is no built-in support for rolling back a migration, because not every migration is reversible, and the only general solution would be to do a backup of your database before running the migration.

You're pretty much on your own if you want to be able to rollback to a pre-migration version of your app.

- Jamis

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to