Restarting Heroku database Restarting Heroku database heroku heroku

Restarting Heroku database


If you database is on heroku then you can kill all database connections using a heroku plugin

heroku-pg-extras

pg:killall [DATABASE]  #  terminates ALL connections

To you above command you need to install heroku-pg-extra plugin