In case anyone face this issue on Heroku - I faced the same error when deploying in Heroku Postgresql.
Running this command on the Heroku CLI fixes this -
heroku pg:killall
In case anyone face this issue on Heroku - I faced the same error when deploying in Heroku Postgresql.
Running this command on the Heroku CLI fixes this -
heroku pg:killall