© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
1 reply
tea bone

Is there a way to create check constraint?

I need to have a check constraint in my schema. I know check function is currently not supported, but is there a way to hack our way into implementing it?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Unable to create a check constraint for NaN values
Drizzle TeamDTDrizzle Team / help
15mo ago
Is there a way to check/constrain a column?
Drizzle TeamDTDrizzle Team / help
2y ago
How to implement a 'check' constraint
Drizzle TeamDTDrizzle Team / help
3y ago
Check Constraint Workaround
Drizzle TeamDTDrizzle Team / help
3y ago