Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
docVersionId | String | ✓ | unique |
accessType | DocVersionAccessType | ✓ | |
allowedUserIds | String[] | ✓ | |
allowedDomains | String[] | ✓ | |
requirePassword | Boolean | ✓ | |
password | String | - | |
createdAt | DateTime | ✓ | |
updatedAt | DateTime | ✓ |
Diagram
mermaiderDiagram DocVersionAccess { id String [PK] docVersionId String [UNIQUE] accessType DocVersionAccessType allowedUserIds String[] allowedDomains String[] requirePassword Boolean password String? createdAt DateTime updatedAt DateTime } DocVersionAccess ||--|| DocVersion : ""
Relationships
- HAS_ONE →
DocVersion
Was this page helpful?