Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 592 Bytes

psql.md

File metadata and controls

25 lines (18 loc) · 592 Bytes

heroku psql

open a psql shell to the database

heroku psql [DATABASE]

open a psql shell to the database

USAGE
  $ heroku psql [DATABASE] -a <value> [-c <value>] [-f <value>] [--credential <value>] [-r <value>]

FLAGS
  -a, --app=<value>      (required) app to run command against
  -c, --command=<value>  SQL command to run
  -f, --file=<value>     SQL file to run
  -r, --remote=<value>   git remote of app to use
  --credential=<value>   credential to use

DESCRIPTION
  open a psql shell to the database