Prisma ORM · CLI and migrations

Create and apply a migration

Turn schema changes into a SQL migration and apply it to the development database.

npx prisma migrate dev --name init

Official Prisma ORM documentation

More cli and migrations commands

All cli and migrations commands · Prisma ORM cheatsheet

Was this page helpful?