connect to db heroku
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
connect to db heroku
heroku pg:psql -f schema.sql -a HEROKU_APP_NAME
create heroku add on postgres
heroku addons:create heroku-postgresql:hobby-dev
how to find my postgres hostname heorku
heroku pg:credentials:url
heroku cli connect to postgres
$ PGUSER=postgres PGPASSWORD=password heroku pg:pull HEROKU_POSTGRESQL_MAGENTA mylocaldb --app sushi
link db to heroku
DATABASE_URL=postgresql://name:pass@localhost:5432/db name
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us