β All fixes
Ship failure
Migration ran locally, skipped on production
The fix
Most ORMs (Prisma, Drizzle) run migrations on the dev machine but require a manual or build-step trigger in prod. Add `prisma migrate deploy` to your Vercel build command, or use Drizzle Kit's push in a postbuild script. Test by running it once manually against prod-like staging before relying on it.
Deeper dive: read the full article β