Skip to content
#

knex

Here are 737 public repositories matching this topic...

JasonWoof
JasonWoof commented May 10, 2020

Environment

Knex version: 0.21.1
OS: docker node:latest

I'd like to be able to write my migrations (and seed) files as es modules with the .mjs file extension like I'm doing with all my other javascript files.

I'd like to be able to run these migrations from within node (not via the cli) like this:

db/migrations/00001-users-table.mjs:
    export const up = knex => knex.sche

Improve this page

Add a description, image, and links to the knex topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the knex topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.