how to run sql migrations heroku code example Example: how to migrate database to heroku heroku run rails db:migrate