Files
dbis_core/PRISMA_SCHEMA_FIXED.md

21 lines
777 B
Markdown
Raw Normal View History

2026-01-02 20:27:42 -08:00
# Prisma Schema - All Validation Errors Fixed ✅
## Fixes Applied
1. **@map to @@map**: Fixed all `@map` to use `@@map` (model-level mapping)
2. **Duplicate Models Removed**:
- Removed duplicate `RealityDivergence` model
- Removed duplicate `GruReserveAllocation` model
3. **Missing Model References Removed**:
- Removed `GruBondStressTest[]` references
- Removed `GruOmegaLayerReconciliation[]` references
- Removed `GruMetaverseStressTest[]` references
- Removed `GruReserveWithdrawal[]` references
4. **SyntheticGruBond Relations**: All relations properly defined with correct relation names
5. **Syntax Errors**: Fixed malformed `@ @@map` to `@@map`
## Schema Status
The Prisma schema now validates successfully and Prisma client can be generated.