Wrapping DDL changes in transactions?

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs