compound uniqueIndex

In Prisma, I have in my schema definition the following declaration that requires userId and timestamp tuple to be unique:

@@unique([userId, time])

How can I express the same using drizzle kit schema file?
Was this page helpful?