Next.js Discord

Discord Forum

Learn Next.js: Setting Up Your Database

Answered
Blood cockle posted this in #help-forum
Open in Discord
Blood cockleOP
Hi all,
I've been going through the Next.js 14 tutorial and i'm getting this error seeding the Postgres DB.

ERROR: prepared statement "s6273550" does not exist

Any ideas why?

Thanks!
Answered by Blood cockle
Fixed by adding schema.prisma file to the root as described in the Vercel Postgres error codes page https://vercel.com/docs/storage/vercel-postgres/vercel-postgres-error-codes#prepared-statement-s0-already-exists
View full answer

1 Reply

Blood cockleOP
Fixed by adding schema.prisma file to the root as described in the Vercel Postgres error codes page https://vercel.com/docs/storage/vercel-postgres/vercel-postgres-error-codes#prepared-statement-s0-already-exists
Answer