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

Support plannetscale database #34

Open
chaonengs opened this issue Jun 9, 2023 · 1 comment
Open

Support plannetscale database #34

chaonengs opened this issue Jun 9, 2023 · 1 comment

Comments

@chaonengs
Copy link

Facts:

  • if i use plannetscale, i have to set relationMode = 'prisma' in schema file
  • the current verison of prisma in this project does not support relationMode. I have looked the lockfile, it is 4.0.0, to support relationMode, the minimal version of prisma is 4.8.0

Solution:
Maybe update the prisma version? I have tired change the version in package.json, and then run build, but it occured error when building.

@chaonengs
Copy link
Author

I managed to upgradde to prisma 4.15.0 by using @prisma/internals replace of @prisnam/sdk
but the query does not work well, it always return 404 error from the dp server

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

1 participant