Destroying a Postgres DB on Heroku

You shouldn’t use a postgres command to fully delete your database, as you will not have permissions to create a new one. Instead you should use the heroku command to clear out your database:

heroku pg:reset DATABASE_URL

Leave a Comment