Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forbid using onUpdate with prisma level integrity #9281

Closed
pimeys opened this issue Sep 15, 2021 · 0 comments · Fixed by prisma/prisma-engines#2230
Closed

Forbid using onUpdate with prisma level integrity #9281

pimeys opened this issue Sep 15, 2021 · 0 comments · Fixed by prisma/prisma-engines#2230
Labels
kind/improvement An improvement to existing feature and code. topic: relationMode formerly `referentialIntegrity`
Milestone

Comments

@pimeys
Copy link
Contributor

pimeys commented Sep 15, 2021

When having a talk with @dpetrick about referential actions, he told me the onUpdate counterparts do not work yet. We should prevent using the onUpdate parameter for @relation attributes if referentialIntegrity is set to prisma, and link to the issue:

#9014

@pimeys pimeys added kind/improvement An improvement to existing feature and code. topic: relationMode formerly `referentialIntegrity` labels Sep 15, 2021
@pimeys pimeys added this to the 3.1.0 milestone Sep 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/improvement An improvement to existing feature and code. topic: relationMode formerly `referentialIntegrity`
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant