Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
organizationId | String | ✓ | |
projectId | String | - | |
docVersionId | String | - | |
actorId | String | ✓ | |
actorEmail | String | ✓ | |
actorRole | String | ✓ | |
action | String | ✓ | |
entityType | String | ✓ | |
entityId | String | ✓ | |
metadata | Json | - | |
ipAddress | String | - | |
userAgent | String | - | |
createdAt | DateTime | ✓ |
Diagram
mermaiderDiagram AuditEvent { id String [PK] organizationId String projectId String? docVersionId String? actorId String actorEmail String actorRole String action String entityType String entityId String metadata Json? ipAddress String? userAgent String? createdAt DateTime } AuditEvent ||--|| Project : ""
Relationships
- HAS_ONE →
Project
Was this page helpful?