nicoalbanese / kirimase

Build full-stack Next.js apps, incredibly fast
https://kirimase.dev
MIT License
2.57k stars 118 forks source link

Updated Drizze to version 0.21.0 #194

Closed angedell closed 3 months ago

angedell commented 4 months ago

Updated Drizzle generator to use version 0.21.0

https://orm.drizzle.team/kit-docs/upgrade-21

removed driverfrom drizze.config.ts Added dialect

removed :dialect from package.json

tested using better-sqlite, and installing using pnpm

angedell commented 4 months ago

This solution could be more elegant, though.

Ideally, we first install drizzle, then check the version that it is installed, and based on that, we apply a different configuration.

I assume there will be more breaking changes

nicoalbanese commented 3 months ago

thanks for this! made a few small changes for compatibility with the new connection string changes and correct the dialect (pg -> postgresql)