how do I add custom constraint?

Ex:

alter table shift_break
add exclude using gist (shift_id with =, tstzrange("start", "end") with &&);
Was this page helpful?