Fix TypeScript build errors
This commit is contained in:
20
PRISMA_SCHEMA_FIXED.md
Normal file
20
PRISMA_SCHEMA_FIXED.md
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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.
|
||||
|
||||
Reference in New Issue
Block a user