run migrations on heroku code example
Example 1: how to migrate database to heroku
heroku run rails db:migrate
Example 2: heroku run knex migrations
$ heroku run knex migrate:latest
Example 3: heroku run knex migrations
$ heroku run knex seed:run