Shouldn't developer be able to choose whether they...
# orm-help
c
Shouldn't developer be able to choose whether they want such a constraint on their model?
r
@Caleb Clark 👋 What constraints exactly?
c
@id and @unique. One of my tables needs to be optimized without a @unique constraint. Although I love Prisma, this lack of ability to choose may require us to move away from Primsa.
r
You can use Prisma Migrate and create migrations that have custom constraints.
@id
is required at the moment so it isn’t possible to have a model without an
@id
.