how to attach the database to an add-on in heroku code example Example: how to push database to heroku heroku run rails db:migrate