NaN primary keys + not honouring camelCase table names
I upgraded to the lastest version of drizzle-kit & drizzle-orm and my schema seems broken. I was using varchar for ID but it seems it wants to be integer now. So I'm getting NaN on my primary keys.
Also seems to be a bug where relations doesn't pick up tables with camelCasing. I was able to fix this by changing to lower_case which is common practice anyway.
"drizzle-orm": "^0.30.8",
"drizzle-kit": "^0.20.16",
2 Replies