Skip to content

How to run migrations without creating ormconfig.json ? #116

Answered by jassMarok
jassMarok asked this question in Q&A
Discussion options

You must be logged in to vote

Figured out, needed to use ts-node to run the cli.

Edit: for anyone looking this up there is also and npm script that can be run like npm run migration:generate UserRefactoring

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mkosir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant