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
Allow models without unique criteria · Issue #7944 · prisma/prisma
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...
2 Replies
Hello @jacklyon 👋
I see you have added comment on the GitHub Issue?
Do I understand correctly, that you would like to work on this Issue? Or are you asking if this Issue is on our team's radar?
I would like to work on it and understand more of the history of that change.
I don't want to spend a week or two refactoring stuff just to find there's some really base primitive built on the assumption that a unique field is there