rails_db_convert_using_adapters icon indicating copy to clipboard operation
rails_db_convert_using_adapters copied to clipboard

Rake task to convert a Rails database from one platfrom to another, say Postgres to MySQL and back again. Uses two open db adapters and works with binary data in blobs.

Results 3 rails_db_convert_using_adapters issues
Sort by recently updated
recently updated
newest added

Great rake task, thank you very much :-)

Type is a reserved word, so setting it in model.attributes doesn't work. Adding the following line just above new_model.id = model.id should do the trick: new_model[:type] = model[:type] if model[:type].present?

Thanks, this is just what I needed, but one note; on SQL Server as the production DB (at least in version 2005), if there are more records in a single...