NoMethodError

raise "a blog about rails, javascript, and other stuff"

Converting a Rails Database From mySQL to PostgreSQL

The taps gem allows you to transfer database structure and data easily between db types.

Add the necessary gems to your Gemfile

Make sure you have the gems for both db types you’ll be accessing.

Start the taps server

This will connect to the database that you are copying structure/date from.

authusername and authpassword can be whatever you want. This will be used to authenticate when pulling from this db server.

Pull the data into your new database

Make sure the new database has been created.

Done!

Comments