Forum: Ruby on Rails Wrapping DDL changes in transactions ?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
François B. (Guest)
on 2006-04-02 05:54
(Received via mailing list)
Hi !

Which database drivers support wrapping DDL changes in transactions ?
Something like this:

def self.up
  ActiveRecord::Base.transaction do
    create_table(...)
  end
end

I know for certain MySQL does not.  I believe PostgreSQL does.  What
about the other database adapaters ?  Can anyone confirm/deny my
claims ?

Thanks !
This topic is locked and can not be replied to.