how to migrate heroku postgre with my dump.json file code example
Example 1: heroku download database
$ heroku pg:backups:capture
$ heroku pg:backups:download
Example 2: connect to db heroku
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
$ heroku pg:backups:capture
$ heroku pg:backups:download
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME