Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
userId | String | ✓ | |
type | NotificationType | ✓ | |
title | String | ✓ | |
message | String | ✓ | |
entityType | String | - | |
entityId | String | - | |
metadata | Json | - | |
read | Boolean | ✓ | |
createdAt | DateTime | ✓ | |
readAt | DateTime | - |
Diagram
mermaiderDiagram Notification { id String [PK] userId String type NotificationType title String message String entityType String? entityId String? metadata Json? read Boolean createdAt DateTime readAt DateTime? }
Was this page helpful?