knex-migrate icon indicating copy to clipboard operation
knex-migrate copied to clipboard

Support for TypeScript supporting version of knex migrate command

Open ziyaddin opened this issue 4 years ago • 3 comments

Knex team has recently added TypeScript support for knex migrate command. knex-migrate will require update to support the new version of migrate command.

No knexfile at '/path/to/project/knexfile.js'
Please create one or bootstrap using 'knex init'

because of having knexfile.ts not knexfile.js

ziyaddin avatar Sep 17 '19 12:09 ziyaddin

Up

mllrdev-miguelsobong avatar Oct 03 '19 04:10 mllrdev-miguelsobong

Also, migration files will likely be written in typescript as well

good-idea avatar Oct 18 '19 04:10 good-idea

@ziyaddin @good-idea Mind giving a try with PR #47? It adds support for knexfile.ts lookup and generates Typescript compatible migration files.

kurbar avatar Dec 20 '19 09:12 kurbar