On 25-Jun-07, at 8:08 PM, snacktime wrote:
>
> 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.
>
> Anyone know?
>
> Chris
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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---