use heroku postgres code example
Example 1: connect to db heroku
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
Example 2: create database heroku
ur cool, a database
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
ur cool, a database