heroku pg:reset code example Example 1: heroku reset database heroku pg:reset DATABASE Example 2: how to push database to heroku heroku run rails db:migrate