Show
Destroy
An entry
Get it down. Make it good. Share it.
Title
Text
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](https://github.com/yamldb/yaml_db) .gem particularly useful here. 1. run `rake db:data:dump` to create a `db/data.yml` file of all the data in your database 1. change database.yml to the new database's URL - something like `postgres://...amazonaws.com...` 1. run `rake db:data:load` to load the `db/data.yml` file into the Postgres database
Status
idea
draft
release
personal
Series
Part of a Series?
Bitcoin
On Work
Phoenix Trello Tutorial
Civics
Re Email Address
Tags
ruby
×
rails
×
data
×
+
Slug
Url
Image 1
Image 2
Image 3
Visible
Date