ER_WRONG_AUTO_KEY - Drizzle Kit not detecting primary keys

Having trouble with the latest release of drizzle. Seems like drizzle is not detecting primary keys so every time I make a change to the schema and run drizzle-kit push:mysql with planetscale, it says the given error no matter what I change. I’m using the latest version of drizzle-kit and drizzle-orm. It’s fixed by downgrading to the previous major release. This is the thread most similar to the issue https://github.com/drizzle-team/drizzle-orm/issues/1428
GitHub
[BUG]: ER_WRONG_AUTO_KEY - Drizzle Kit not detecting primary keys ·...
What version of drizzle-orm are you using? 0.28.6 What version of drizzle-kit are you using? 0.19.13 Describe the Bug Drizzle-kit isn't introspecting the correct primary keys from planet scale....
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server