# Overview on Prisma Migrate (/docs/orm/v6/prisma-migrate/understanding-prisma-migrate/overview)

Location: ORM > v6 > Prisma Migrate > Understanding Prisma Migrate > Overview on Prisma Migrate

<br />

> [!NOTE]
> **Does not apply for MongoDB**<br />Instead of `migrate dev` and related commands, use [`db push`](/orm/v6/prisma-migrate/workflows/prototyping-your-schema) for [MongoDB](/orm/v6/overview/databases/mongodb).

Prisma Migrate enables you to:

* Keep your database schema in sync with your [Prisma schema](/orm/v6/prisma-schema/overview) as it evolves *and*
* Maintain existing data in your database

Prisma Migrate generates [a history of `.sql` migration files](/orm/v6/prisma-migrate/understanding-prisma-migrate/migration-histories), and plays a role in both [development and production](/orm/v6/prisma-migrate/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](/orm/v6/prisma-schema/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, ...).

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

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

## Related pages

- [`About migration histories`](https://www.prisma.io/docs/orm/v6/prisma-migrate/understanding-prisma-migrate/migration-histories): About migration histories
- [`About the shadow database`](https://www.prisma.io/docs/orm/v6/prisma-migrate/understanding-prisma-migrate/shadow-database): About the shadow database
- [`Legacy Prisma Migrate`](https://www.prisma.io/docs/orm/v6/prisma-migrate/understanding-prisma-migrate/legacy-migrate): Legacy Prisma Migrate is a declarative data modeling and schema migration tool that is available via the Prisma CLI.
- [`Limitations and known issues`](https://www.prisma.io/docs/orm/v6/prisma-migrate/understanding-prisma-migrate/limitations-and-known-issues): Learn about current limitations and known issues with Prisma Migrate, including database provider constraints and migration file compatibility.
- [`Mental model`](https://www.prisma.io/docs/orm/v6/prisma-migrate/understanding-prisma-migrate/mental-model): A mental model guide for working with Prisma Migrate in your project