PrismaP
Prisma14mo ago
4 replies
jacklyon

Why does Prisma require a primary and/or unique key?

Trying to understand what is involved to work on https://github.com/prisma/prisma/issues/7944
GitHub
Problem As of now each "model must have at least one unique criteria". if you don't have one you would get an error like: Error validating model "___": Each model must h...
Allow models without unique criteria · Issue #7944 · prisma/prisma
Was this page helpful?