sajad torkamani
npx prisma migrate dev --name add-user-model

This should:

  • Generate a migration file and apply it
  • Regenerate the Prisma client in your project (equivalent to manually running npx prisma generate)
Tagged: Prisma