event subscriptions
This commit is contained in:
@@ -34,6 +34,7 @@ model session {
|
||||
|
||||
enum Topic {
|
||||
TEST
|
||||
EVENTS
|
||||
}
|
||||
|
||||
model FoundEvents {
|
||||
@@ -49,6 +50,7 @@ model FoundEvents {
|
||||
|
||||
model FoundEventAttachments {
|
||||
id String @id @default(dbgenerated("uuidv7()")) @db.Uuid
|
||||
title String @db.VarChar
|
||||
url String @db.VarChar
|
||||
event FoundEvents @relation(fields: [eventId], references: [id])
|
||||
eventId String @db.Uuid
|
||||
@@ -67,6 +69,7 @@ model PushSubscription {
|
||||
topic Topic
|
||||
topicConfiguration Json? @db.JsonB
|
||||
clientId String @db.Uuid
|
||||
lastNotified DateTime? @db.Date
|
||||
}
|
||||
|
||||
model User {
|
||||
|
||||
Reference in New Issue
Block a user