PrismaP
Prisma6mo ago
16 replies
ryanisaboi1

MismatchedTokenException when migrating from neon/docker to prisma postgres

For some reason im getting a schema parsing error when moving from docker (locally) + neon to prisma postgres.
I started with bunx prisma dev to spin up a local dev database.
After running prisma generate + prisma migrate, I'm getting the following error MismatchedTokenException: Expecting --> '{' <-- but found --> 'non-linear' <--

I'm not sure why switching db providers would cause the schema to be invalid
Was this page helpful?