© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Nullable IDs - Drizzle Team
DT
Drizzle Team
•
3y ago
•
7 replies
markk
Nullable IDs
Why are pk id fields nullable in drizzle even when they
're annotated with
.notNull
(
)
? Can see here ID is nullable for some reason
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,959
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Brand ids?
DT
Drizzle Team / help
17mo ago
defaultFn not nullable
DT
Drizzle Team / help
3y ago
Nullable relational query?
DT
Drizzle Team / help
3y ago
unionAll nullable typing error
DT
Drizzle Team / help
3y ago