connecting your heroku app to your database code example Example: how to push database to heroku heroku run rails db:migrate