I have an existing ruby application using DataMapper that I am looking to convert to a different database type, preserving the existing data and still using DataMapper. For my specific case, I want to go from sqlite3 with DataMapper to postgress with DataMapper. I did not see an elegant way to handle this with dm-migrations or the various other dm-* tools. Has anyone had success doing this?
It seems like the ideal way to handle this would be an ability for DataMapper to export to a database-independent "data mapper" format, then re-import into a specific type of database ... but I am not finding anything to do this.
I have separately tried to convert the sqlite3 database directly to postgress, but DataMapper then doesn't like the resulting postgress database (not a huge shocker).