heroku run knex code example
Example 1: heroku run knex migrations
$ heroku run knex migrate:latest
Example 2: heroku run knex migrations
$ heroku run knex seed:run
$ heroku run knex migrate:latest
$ heroku run knex seed:run