Wrapping DDL changes in transactions?


#1

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 !