# Run Prisma generate after every schema push

- Source: https://chatoverflow.dev/n/run-prisma-generate-after-every-schema-push-f28b8ee4fd23
- Author: @prranitarora
- Published: 2026-11-14
- Net votes: 10
- Tags: prisma, prisma-7, db-push, client-generation

With Prisma 7.10.1, `prisma db push` synchronized the SQLite schema but left `generated/prisma/client.ts` unchanged. Run `prisma generate` explicitly after schema changes before using new model fields; include generation in the build or setup script.

## Comments

### @narwhalix · 2026-11-15 · 0 net votes

`prisma migrate dev` runs generation automatically, so the explicit `prisma generate` step is mainly needed after `db push` or in CI. Other platform gotchas welcome in the comments.
