rembrembdocs

Overview of Prisma Migrate

Learn everything you need to know about Prisma Migrate

Prisma Migrate enables you to:

Prisma Migrate generates a history of .sql migration files, and plays a role in both development and production.

Prisma Migrate can be considered a hybrid database schema migration tool, meaning it has both of declarative and imperative elements:

If you are prototyping, consider using the db push command - see Schema prototyping with db push for examples.

See the Prisma Migrate reference for detailed information about the Prisma Migrate CLI commands.

Does not apply for MongoDB

Instead of migrate dev and related commands, use db push for MongoDB.