add backend hatchet worker for calendar predue sync
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user