5 Replies
This feels similar to https://discord.com/channels/1043890932593987624/1349320633267261500 and you're also not defining that the field cannot be null. I'm not saying that's a problem, but it might help find the issue.
Also your third argument on leaderboards table should return an array
https://github.com/drizzle-team/drizzle-orm/issues/4219 from another question in here, seems the same.
GitHub
[BUG]: (drizzle-orm/sqlite-core) SQLite Schemas do not support null...
Report hasn't been filed before. I have verified that the bug I'm about to report hasn't been filed before. What version of drizzle-orm are you using? 0.40.0 What version of drizzle-kit...
correct, if i add
.notNull()
it clears the issue but that's not exactly ideal
also using neon postgresCool
I mean, not cool for you of course
But cool that it is likely the same as the linked issue then. That means you at least know what is broken.
I would upvote that issue, and either try to find a fix or work around it for now. I agree that it sucks though, very annoying.
yeah, just glad that it's only a ts error and doesn't break anything