Add a Exclusion Constraint for Postgres
I want to add an exclusion constraint to a table where I want to make sure there is only one row with flag set to true.
Regular SQL would look like this,
Is there any way I can do this with Drizzle?
0 Replies