Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
how do I add custom constraint? - Drizzle Team
DT
Drizzle Team
•
2y ago
•
2 replies
FREN pzez
how do I add custom constraint?
Ex
:
alter table shift
_break
add exclude using gist
(shift
_id with
=
, tstzrange
(
"start
"
,
"end
"
) with
&
&
)
;
Drizzle Team
Join
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How should I do custom migrations?
DT
Drizzle Team / help
2y ago
Add a Exclusion Constraint for Postgres
DT
Drizzle Team / help
2y ago
Can I add a Unique constraint to a column?
DT
Drizzle Team / help
3y ago
Create a Lowercase constraint (or any custom constraint) in drizzle ORM schema
DT
Drizzle Team / help
2y ago