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

Drizzle Studio requires newer version of drizzle-kit #161

Open
TomasSestak opened this issue Jul 18, 2024 · 1 comment
Open

Drizzle Studio requires newer version of drizzle-kit #161

TomasSestak opened this issue Jul 18, 2024 · 1 comment

Comments

@TomasSestak
Copy link

No description provided.

@TomasSestak TomasSestak changed the title Drizzle Studio required newer version of drizzle-kit Drizzle Studio requires newer version of drizzle-kit Jul 18, 2024
@soyosef
Copy link

soyosef commented Sep 2, 2024

Solved by updating drizzle-kit and drizzle-orm:
$ cd packages/api/
$ bun add drizzle-kit@latest -D
$ bun add drizzle-orm@latest

And following steps in: https://orm.drizzle.team/learn/guides/d1-http-with-drizzle-kit

Also, change in packages/package.json scripts:
"generate": "drizzle-kit generate --dialect sqlite --schema=./src/db/schema.ts --out=./migrations",

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