prisma migrate
Migrate your database
Subcommands
Name | Description |
---|---|
dev | The migrate dev command updates your database using migrations files during development |
reset | Reset your database and apply all migrations, all data will be lost |
deploy | Apply pending migrations to update the database schema in production/staging |
resolve | Resolve issues with database migrations in deployment databases |
status | Check the status of your database migrations |
diff | Compares the database schema from two arbitrary sources, and outputs the differences either as a human-readable summary (by default) or an executable script |