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

referentialIntegrity has been renamed relationMode in Prisma 4.5.0 #65

Closed
FelixZY opened this issue Apr 16, 2023 · 1 comment
Closed

Comments

@FelixZY
Copy link

FelixZY commented Apr 16, 2023

The relationMode field was renamed in Prisma version 4.5.0, and was previously named referentialIntegrity.

https://www.prisma.io/docs/concepts/components/prisma-schema/relations/relation-mode#how-to-set-the-relation-mode-in-your-prisma-schema

createSchema({
  datasource: {
    referentialIntegrity: "prisma",
    // ...
  },
  // ...

should be updated to

createSchema({
  datasource: {
    relationMode: "prisma",
    // ...
  },
  // ...
@ridafkih
Copy link
Owner

ridafkih commented Apr 27, 2023

Closing, #67 has been released in v1.12.0

Thank you so much for the notification, sorry for the delay in getting the fix pushed up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants