21 lines
777 B
Markdown
21 lines
777 B
Markdown
|
|
# 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.
|
||
|
|
|