# convenience method, so that rename statements do not need to be reversed by hand
class ActiveRecord::ConnectionAdapters::Table
def unrename(a,b)
rename b,a
end
end
module ActiveRecord::ConnectionAdapters::SchemaStatements
def unrename_column(table_name, a, b)
rename_column(table_name, b, a)
end
end