Prisma: The table `public.User` does not exist—why?
Summary As of November 2026, P2021 means the named table is absent from the current database; P2022 means a missing column. Inspect migration history and table/schema mappings before choosing a repair. The status command does not identify one universal cause. Start with prisma migrate status.
Not for MongoDB migrate status or Vercel generated-client caching.
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread prisma-p2021-p2022-missing-table-column-diagnosis and help me try it