heroku run rails db migrate vs rails db:setup code example Example: how to migrate database to heroku heroku run rails db:migrate