code: async function migrate (direction) {
    let config = require(path.join(process.cwd(), '.', 'config'))
    let db = require(path.join(process.cwd(), '.', 'db'))
  
    if (direction === 'up') {
      await db.migrate.latest(config.db)
    } else if (direction === 'down') {
      await db.migrate.rollback(config.db)
    } else {
      cli.showHelp(0)
    }
  
    process.exit(0)
  }
docs: Run the migrations in a given direction.
  
  @param {String} direction - The direcation to run, can be 'up' or 'down'