1

Till recently i've needed to run the dev environment for my Heroku (postgres) app on mySQL.

Obviously this is not ideal (running dev and production on different dbs) and, as the original restriction has been taken away, i'm looking for the best strategy/instruction-set for moving my dev environment over to postgres and either migrating the mySQL data across, or pulling the production data into the new dev db.

What is the best route?

Thanks in advance for any help or direction!

1 Answer 1

2

Best bet is to take the simple route.

  • Install postgres
  • Setup your local codebase to look at the new database
  • rake db:setup
  • heroku db:pull --app <your production app>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.