heroku postgresql Connecting to a database remotely code example Example: connect to db heroku heroku pg:psql -f schema.sql -a HEROKU_APP_NAME