Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated package.json is missing a migrate:make script #3461

Open
silvestreh opened this issue Apr 10, 2024 · 3 comments
Open

Generated package.json is missing a migrate:make script #3461

silvestreh opened this issue Apr 10, 2024 · 3 comments

Comments

@silvestreh
Copy link

Steps to reproduce

  1. Generate an app through npm create
  2. Pick TypeScript, Koa, TypeBox, and SQLite when prompted
  3. Open package.json and look for the scripts key
  4. migrate:make is defined as an empty string.

Expected behavior

I would expect scripts['migrate:make'] to contain a command, like knex migrate:make -x mjs, to create a migration file.

Actual behavior

scripts['migrate:make'] is an empty string

@silvestreh
Copy link
Author

Same happens when selecting PostgreSQL instead of SQLite.

@ShadowOfThePenguin
Copy link

same

@jascholle
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants