We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Make sure to close knex instance after execution to avoid Node process hanging due to open connections:
async function migrate() { try { await knex.migrate.latest({/**config**/}) } } catch (e) { process.exit(1) } finally { try { knex.destroy() } catch (e) {} } } migrate()