add backend hatchet worker for calendar predue sync

This commit is contained in:
Ruslan Bakiev
2026-03-08 19:15:30 +07:00
parent 0df426d5d6
commit e4870ce669
21 changed files with 1859 additions and 350 deletions

View File

@@ -2,18 +2,18 @@
## Single source of truth
- Canonical Prisma schema: `Frontend/prisma/schema.prisma`.
- Canonical Prisma schema: `frontend/prisma/schema.prisma`.
- Service copy:
- `backend/prisma/schema.prisma`
## Update flow
1. Edit only `Frontend/prisma/schema.prisma`.
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`.
- Schema rollout (`prisma db push` / migrations) is allowed only in `frontend`.
- `backend` must use generated Prisma client only.