timothymiller / t4-app

Full stack meta-framework for building iOS, Android, and Progressive Web Apps with Tamagui and deploying to Cloudflare.
https://t4stack.com
MIT License
1.49k stars 84 forks source link

Drizzle Studio requires newer version of drizzle-kit #161

Open TomasSestak opened 4 months ago

soyosef commented 2 months ago

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",