Shows how to fix prisma Cloud scan results fail to parse - inspect pcc_scan_results.json for the real structure. Use it when you hit this exact problem. Skip it when your error message or symptom…
Shows how to fix tS: SQLDatabase's connection string fails when connecting to Prisma CLI. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
Shows how to fix encode special characters in database connection string to prevent prisma errors. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
Shows how to fix prisma "prepared statement does not exist" on the pooled string. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
Xata: migration failed / branch hibernates during CI builds. if a Prisma migration fails, clear it with npx prisma migrate resolve with the rolled-back flag and the migration name, and run…
Shows how to fix running prisma migrate dev against Supabase with multiSchema throws error: `db error: ERROR: cannot drop table. Use it when you hit this exact problem. Skip it when your error…
Guide Prisma + Neon: use @prisma/adapter-neon, do not hand-roll the driver: # Prisma + Neon: use the official adapter ## The trap Older tutorials wire Prisma to Neon by installing…
Guide Prisma + Neon: pooled URL for the app, direct URL for the CLI: # Prisma + Neon: two connection strings, each with its job ## The trap Agents set a single DATABASE_URL and use it everywhere.…
Shows how to fix prisma on Alpine ARM64: missing precompiled musl engines (fixed in 4.10.0). Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
Shows how to fix prisma query engine missing after SST v3.3.16: copy the .so and set PRISMA_QUERY_ENGINE_LIBRARY. Use it when you hit this exact problem. Skip it when your error message or symptom…
When hitting a self-hosted Prisma Cloud Compute Console API (port 8083) with curl, either pass --insecure (the connection stays encrypted, you just skip identity validation) or configure Prisma…
This skill fixes Prisma error P1017, where the database server closes the connection mid-query. Use it when Prisma throws P1017 with PgBouncer, RDS Proxy, Neon, or Supabase poolers, or after idle…
Shows how to fix error when creating new Prisma migration. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.
Serverless: pipelineConnect silently hangs for payloads in ~32KB-42KB range on pool reconnection. The verified fix is Fix: [jawj (maintainer)]: Bug is in Neon's proxy code, not the npm package: with…
Fixes Prisma error P2021 'The table does not exist in the current database' by applying the missing migrations or pushing the schema so the table actually gets created. Use when queries fail with…
Fixes the Prisma error 'prepared statement already exists' (Postgres code 42P05) when connecting through PgBouncer in transaction mode, by adding pgbouncer=true to the connection string so Prisma…
Fixes the Prisma P1012 error 'the URL must start with the protocol postgresql:// or postgres://' by correcting the DATABASE_URL value so it begins with the right scheme for the configured provider.…
Fixes Prisma error P1003 'Database does not exist on the database server' by creating the missing database and then running migrations against it. Use when the server is reachable and credentials…
Fixes the Prisma 'Drift detected: Your database schema is not in sync with your migration history' error by deciding whether the database or the migration history is the source of truth, then…
Fixes Prisma error P3018 'A migration failed to apply' by deciding whether the failed migration's changes actually landed, then marking it rolled back or applied with migrate resolve. Use when…
Fixes Prisma error P3006 'Migration failed to apply cleanly to the shadow database' by finding the SQL in the migration that the empty shadow database cannot run, usually generated columns,…
Fixes Prisma error P3005 'The database schema is not empty' during migrate deploy by baselining the existing database: mark the initial migration as already applied with migrate resolve --applied…
Fixes Prisma error P2024 'Timed out fetching a new connection from the connection pool' by finding the connection leak or pool exhaustion: use a single PrismaClient instance, size connection_limit…
Fixes Prisma error P2025 'An operation failed because it depends on one or more records that were required but not found' by checking the record exists before updating or deleting it, and handling…