Prisma ORM · CLI and migrations

Reset the development database

Drop the database, recreate it and re-apply all migrations.

npx prisma migrate reset

Caution: Deletes all data in the database. Never run it against production.

Official Prisma ORM documentation

More cli and migrations commands

All cli and migrations commands · Prisma ORM cheatsheet

Was this page helpful?