Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
userId | String | ✓ | |
entityType | String | ✓ | |
entityId | String | ✓ | |
actionType | String | ✓ | |
lastAccessAt | DateTime | ✓ | |
accessCount | Int | ✓ |
Diagram
mermaiderDiagram UserActivity { id String [PK] userId String entityType String entityId String actionType String lastAccessAt DateTime accessCount Int } UserActivity ||--|| User : ""
Relationships
- HAS_ONE →
User
Referenced By
User(HAS_ONE)
Was this page helpful?