Is there a reason why there is no built in task
rollback_with_migrations in capistrano? Before I go look at the
source and try overriding that method, I thought there might be a good
reason why it's not there that I haven't though of.
In my experience DDL isn't generally under transaction control, so there isn't really a safe way to rollback; ie you don't know how much or little was successful.
Although I understand that postgres has support for transactions around DDL.
Cheers,
Jodi
General Partner
The nNovation Group inc.
www.nnovation.ca/blog