I have downloaded the database from an existing Heroku app onto my local machine. The data I downloaded is in a single file; let's call it herokuapp.db
. I also have Postgres installed and I can successfully create a new Postgres database and have my Rails app reference that. What I want to do is move the data I downloaded from Heroku into this database or create a new Postgres database using the downloaded data.
Tell me more
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Use | |||||
|
I just solved the same problem with a similar technique that Will suggested (thanks Will!).
The database_name can be found in the development section of the database.yml file. EDIT
Here is the updated command that worked:
| ||||
|