I\'m trying to import my production Heroku database into my development machine.
My local db is PostgreSQL.
First, I\'m exporting the dump from Heroku to my
Heroku export the .dump extension file of the db to import in any of the relational DB by having its own norms and conditions. While importing it to the local postgres DB, first you download the file latest.dump into your local machine and then run
pg_restore -h localhost -p 5432 -U postgres_username -d db_name -v latest.dump
and restart the rails server.