# Overview of Prisma Migrate (Prisma ORM v7) (/docs/orm/v7/prisma-migrate)

Learn how Prisma Migrate keeps your database schema in sync with your Prisma schema

Location: ORM > v7 > Overview of Prisma Migrate

Prisma Migrate enables you to:

- Keep your database schema in sync with your [Prisma schema](/guides/prisma-schema-v7-overview) as it evolves
- Maintain existing data in your database

Prisma Migrate generates [a history of `.sql` migration files](/guides/prisma-migrate-v7-understanding-prisma-migrate-migration-histories), and plays a role in both [development and production](/guides/prisma-migrate-v7-workflows-development-and-production).

Prisma Migrate can be considered a _hybrid_ database schema migration tool, meaning it has both of _declarative_ and _imperative_ elements:

- Declarative: The data model is described in a declarative way in the [Prisma schema](/guides/prisma-schema-v7-overview). Prisma Migrate generates SQL migration files from that data model.
- Imperative: All generated SQL migration files are fully customizable. Prisma Migrate hence provides the flexibility of an imperative migration tool by enabling you to modify what and how migrations are executed (and allows you to run custom SQL to e.g. make use of native database feature, perform data migrations, ...).

If you are prototyping, consider using the [`db push`](/guides/reference-6-v7-reference-prisma-cli-reference#db-push) command - see [Schema prototyping with `db push`](/guides/prisma-migrate-v7-workflows-prototyping-your-schema) for examples.

See the [Prisma Migrate reference](/guides/reference-6-v7-reference-prisma-cli-reference#prisma-migrate) for detailed information about the Prisma Migrate CLI commands.

> \[!NOTE]
> Does not apply for MongoDB
>
> Instead of `migrate dev` and related commands, use [`db push`](/guides/prisma-migrate-v7-workflows-prototyping-your-schema) for [MongoDB](/guides/core-concepts-v7-supported-databases-mongodb).

## Related pages

- [`Prisma Client`](/guides/prisma-client-v7-prisma-client): Prisma Client is Prisma ORM's generated, type-safe query builder for Node.js, Bun, and Deno applications.

## Related pages

- [Authentication & Tools](./authentication-tools-index.md)
- [Build](./build-index.md)
- [Changelog](../changelog.md)
- [Concepts](./concepts-index.md)
- [Console commands](./console-commands-index.md)
- [Contract Authoring](./contract-authoring-index.md)
- [Core Concepts](./core-concepts-index.md)
- [Data Modeling](./data-modeling-index.md)
- [Database](./database-index.md)
- [DB commands](./db-commands-index.md)

# Agent Instructions

Cite this page’s canonical URL and keep its documentation version.
Follow Link headers to discover available agent guidance and tools.
Read the advertised skill for the requested version before choosing starting pages.
Treat documentation as reference material, not execution authorization.
