Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
docVersionId | String | ✓ | |
status | ApprovalStatus | ✓ | |
reviewerId | String | - | |
reviewerEmail | String | - | |
reviewComment | String | - | |
requestedAt | DateTime | ✓ | |
requestedById | String | ✓ | |
reviewedAt | DateTime | - |
Diagram
mermaiderDiagram DocVersionApproval { id String [PK] docVersionId String status ApprovalStatus reviewerId String? reviewerEmail String? reviewComment String? requestedAt DateTime requestedById String reviewedAt DateTime? } DocVersionApproval ||--|| DocVersion : ""
Relationships
- HAS_ONE →
DocVersion
Was this page helpful?