I recently moved from a self-hosted MySQL database to a free instance of Postgres on Heroku.
This entailed getting the data from the MySQL database into the Postgres database. I found the yaml_db .gem particularly useful here.
- run
rake db:data:dump
to create adb/data.yml
file of all the data in your database - change database.yml to the new database's URL - something like
postgres://...amazonaws.com...
- run
rake db:data:load
to load thedb/data.yml
file into the Postgres database