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.