Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
projectId | String | ✓ | |
tokenHash | String | ✓ | unique |
label | String | - | |
expiresAt | DateTime | - | |
maxUses | Int | - | |
useCount | Int | ✓ | |
revokedAt | DateTime | - | |
createdById | String | ✓ | |
createdAt | DateTime | ✓ |
Diagram
mermaiderDiagram DocsShareLink { id String [PK] projectId String tokenHash String [UNIQUE] label String? expiresAt DateTime? maxUses Int? useCount Int revokedAt DateTime? createdById String createdAt DateTime } DocsShareLink ||--|| Project : ""
Relationships
- HAS_ONE →
Project
Was this page helpful?