If you have a working database, you can recreate your tables from the schema:
heroku run rake db:schema:load
If you want to simply reset the database to empty:
heroku run rake db:create
What mistake gives you? Perhaps it would be more useful to try to solve this problem, rather than erase everything.
Felix source share