FAQ
FAQ copied to clipboard
Upgrade prisma
Upgrade Prisma 1.34 to Prisma 5
Current state:
- Errors on the relations between Question and Translation, Answer and Translation, and Answer and ZNode
-
server/src/middlewares/configuration.js
: configuration query is converted to Prisma 5 and should work after fixing the schema errors -
server/src/resolvers/question.js
: question query is converted to Prisma 5 and might work after fixing the schema errors - CRUD doc: https://www.prisma.io/docs/concepts/components/prisma-client/crud
- Relation queries doc: https://www.prisma.io/docs/concepts/components/prisma-client/relation-queries
Bonne chance 👍