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

[Docs] Error running db:generate with Drizzle ORM #105

Closed
onmax opened this issue May 16, 2024 · 0 comments
Closed

[Docs] Error running db:generate with Drizzle ORM #105

onmax opened this issue May 16, 2024 · 0 comments

Comments

@onmax
Copy link
Contributor

onmax commented May 16, 2024

Describe the bug
I follow the steps to add Drizzle ORM. After that, when running db:generate I get an deprecation error:

maxi@maxi:~/my-project$ nr db:generate
✔ script to run › db:generate

> nuxt-app@ db:generate /home/maxi/my-project
> drizzle-kit generate:sqlite

Err: This command is deprecated, please use updated 'generate' command (see https://orm.drizzle.team/kit-docs/upgrade-21#how-to-migrate-to-0210)

Steps to reproduce
Steps to reproduce the behavior:

  1. In a new project, follow the steps shown in the documentation
  2. Once you have all the database config, run db:generate
  3. You should see the deprecation error

Expected behavior
No errors/warning should show after running the command

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

2 participants