02 Sep 2021

Heroku Cheat Sheet

Database

  • The database doesn’t create itself, you have to install the PostgreSQL add-on.

Commands

  • Run run SQL query in terminal (local):
heroku pg:psql -c "command" --app "name-app"