heroku not connecting to db code example
Example 1: connect to db heroku
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
Example 2: how to find my postgres hostname heorku
heroku pg:credentials:url
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
heroku pg:credentials:url