add postgresql to heroku project code example
Example 1: connect to db heroku
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
Example 2: heroku download database
$ heroku pg:backups:download
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
$ heroku pg:backups:download