Init
Initialization
npx prisma init
pull schema file from DB
npx prisma db pull
npx prisma migrate dev
Development
synchronize db
npx prisma db push
Generate Migration SQL
npx prisma migrate dev
Generate Prisma Client. The client is generated into the node_modules/.prisma/client
folder
npx prisma generate
Production
npx prisma migrate resolve
Migration
npx prisma migrate deploy