Bit of a long shot and appreciate this might be more to do with KeyStoneJS, but i wondered if anyone who has used KeyStoneJS with Prisma and NextAuth, might know the problem i’ve run into….
So i’m running a nextJs project, and KeystoneJS, when running the dev server, it updates the prisma schema file. Problem i’ve run into, is that it’s difficult to generate a schema the same as what’s outlined in the ‘Setup’ portion of this page:
https://next-auth.js.org/adapters/prisma
What I would ideally need to know is how to generate this line from KeyStoneJS:
“@@unique([providerId, providerAccountId])”