PrismaP
Prisma6mo ago
21 replies
Rob

Help with Error in Schema engine with Planetscale.

I've recently changed to schema folder structure and now can't push a new table to db... ?

When I try and push npx prisma db push I get an error "Oops, an unexpected error occurred! Error in Schema engine. Reason: [schema-engine/sql-schema-describer/src/mysql... [more...]"

Prisma generates correctly, types for the new table are generated with no errors, prisma Studio recognises the new table but I cann't push it.

@prisma/client: 6.12
node: v22.11.0

Can anyone help me debug please?
Was this page helpful?