Grid
DTDrizzle Team
•Created by Grid on 1/17/2024 in #help
Unique constraint on multiple fields/columns
Hey guys, I'm getting my hands on Drizzle for the first time and I was wondering if/how, with the ORM, I can create a unique index based on two fields:
So basically something like this:
I've been browsing through the docs I can't seem to find/understand how to do that 😅
40 replies