Fair Enough
DTDrizzle Team
•Created by Fair Enough on 6/7/2024 in #help
Weird unique constraint
I'm trying to make a unique constraint on a column. It should also be case-insensitive (if there is one row with the value being "User", then "user" will be rejected) and allow non-distinct nulls. I can't figure out how to do this with drizzle-orm or sql. I appreciate any help. Thank you!
2 replies