# Prisma governance ## Single source of truth - Canonical Prisma schema: `frontend/prisma/schema.prisma`. - Service copy: - `backend/prisma/schema.prisma` ## Update flow 1. Edit only `frontend/prisma/schema.prisma`. 2. Run `./scripts/prisma-sync.sh`. 3. Run `./scripts/prisma-check.sh`. 4. Commit changed schema copy. ## Rollout policy - Schema rollout (`prisma db push` / migrations) is allowed only in `frontend`. - `backend` must use generated Prisma client only.