According to heroku documentation about Heroku Shared Postgresql addon, I can use pg:ingress to know connection string details related to specific database. link below
https://devcenter.heroku.com/articles/heroku-shared-postgresql
$ heroku pg:ingress <DATABASE_NAME>
but when I run this command, I get:
$heroku pg:ingress HEROKU_SHARED_POSTGRESQL_PURPLE
! `pg:ingress` is not a heroku command.
! See `heroku help` for additional details.
Any thoughts on this?
UPDATED:
Platform used: windows
Project Type: django project
Heroku client version:
$heroku --version
2.24.1
Heroku addons installed
$heroku addons
heroku-shared-postgresql:basic => HEROKU_SHARED_POSTGRESQL_PURPLE
The new command is
heroku pg:credentials. I’ve updated the article, thanks.