How do I make sure my Heroku Postgres database credentials are correct?
You can reset your credentials with the
heroku pg:credentials:rotate command. That will create a new username and password for your database and update the associated config variable. If you have manually changed other config vars on this or another app, you can use the
heroku addons:attach command to attach your database addon to the same app, or to another Heroku app.