Does not apply for MongoDB
migrate dev and related commands, use
db push for MongoDB.
Prisma Migrate is an imperative database schema migration tool that enables you to:
- Keep your database schema in sync with your Prisma schema as it evolves and
- Maintain existing data in your database
Prisma Migrate generates a history of
.sql migration files, and plays a role in both development and deployment.
If you are prototyping, consider using the
db push command - see Schema prototyping with
db push for examples.
In this section
Was this helpful?
Edit this page on GitHub