how to import database in heroku code example
Example 1: how to migrate database to heroku
heroku run rails db:migrate
Example 2: heroku download database
$ heroku pg:backups:capture
$ heroku pg:backups:download
Example 3: heroku download database
$ heroku pg:backups:download