475 B
475 B
Prisma governance
Single source of truth
- Canonical Prisma schema:
Frontend/prisma/schema.prisma. - Service copy:
backend/prisma/schema.prisma
Update flow
- Edit only
Frontend/prisma/schema.prisma. - Run
./scripts/prisma-sync.sh. - Run
./scripts/prisma-check.sh. - Commit changed schema copy.
Rollout policy
- Schema rollout (
prisma db push/ migrations) is allowed only inFrontend. backendmust use generated Prisma client only.