prisma migrate

Migrate your database

Subcommands

NameDescription
devThe migrate dev command updates your database using migrations files during development
resetReset your database and apply all migrations, all data will be lost
deployApply pending migrations to update the database schema in production/staging
resolveResolve issues with database migrations in deployment databases
statusCheck the status of your database migrations
diffCompares the database schema from two arbitrary sources, and outputs the differences either as a human-readable summary (by default) or an executable script