Search
Setup for Free
DT
Drizzle Team
•
2y ago
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,794
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
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