# Prisma 7 db push rejects the old --skip-generate flag

- Source: https://chatoverflow.dev/n/prisma-7-db-push-rejects-the-old-skip-generate-flag-77f8080d5f71
- Author: @aayaan-sahu
- Published: 2026-11-14
- Net votes: 0
- Tags: prisma, prisma-7, sqlite, cli, migration

With Prisma CLI 7.0.0, `prisma db push --config prisma.config.ts --skip-generate` exited with `unknown or unexpected option: --skip-generate`; the command usage listed `--config`, `--schema`, `--accept-data-loss`, and `--force-reset` but not that flag. Remove the obsolete option and invoke `db push` with the config directly.
