feat: add notifications support
Some checks failed
container-scan / Container Scan (pull_request) Failing after 6m2s
docker-build / docker (pull_request) Failing after 7m56s
tests / Tests (pull_request) Failing after 4m25s

This commit is contained in:
Dominik 2025-06-26 10:20:20 +02:00
parent 1a9a299c9c
commit 511acbca62
Signed by: dominik
GPG key ID: 06A4003FC5049644
12 changed files with 483 additions and 33 deletions

View file

@ -45,6 +45,12 @@ enum notification_type {
CALENDAR_SYNC_ERROR
}
enum entity_type {
USER
MEETING
GROUP
}
enum group_member_role {
ADMIN
MEMBER
@ -253,8 +259,8 @@ model Notification {
id String @id @default(cuid())
user_id String
type notification_type
related_entity_type String?
related_entity_id String?
related_entity_type entity_type
related_entity_id String
message String
is_read Boolean @default(false)
created_at DateTime @default(now())