Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The Prisma CLI has a dedicated command for prototyping schemas: [`db push`](/orm
`db push` uses the same engine as Prisma Migrate to synchronize your Prisma schema with your database schema. The `db push` command:

- Introspects the database to infer and executes the changes required to make your database schema reflect the state of your Prisma schema.
- By default, after changes have been applied to the database schema, generators are triggered (for example, Prisma Client). You do not need to manually invoke `prisma generate`.
- In Prisma v7, db push no longer runs prisma generate automatically. Run it explicitly if needed.
- If `db push` anticipates that the changes could result in data loss, it will:
- Throw an error
- Require the `--accept-data-loss` option if you still want to make the changes
Expand Down