heroku pg:psql [database]

Open a psql shell to the database

Arguments

NameDescription
database

Options

NameDescription
-c, --command <command>SQL command to run
-f, --file <file>SQL file to run
--credential <credential>Credential to use
-a, --app <app>App to run command against
-r, --remote <remote>Git remote of app to use