Try the following: heroku pg:reset SHARED_DATABASE --confirm {the name of your app}
Replace the name of your application where I wrote {your application name}. For example, if your application is called my_great_app, you use:
heroku pg:reset SHARED_DATABASE --confirm my_great_app
To recreate a database without anything:
heroku rake db:migrate
To populate the database with your original data:
heroku rake db:seed
You can combine the last two in one action by doing this:
heroku rake db:setup
source share