Skip to content

Commit

Permalink
add notification schema
Browse files Browse the repository at this point in the history
  • Loading branch information
lassejaco committed Oct 5, 2024
1 parent 306fa45 commit 97ce0f9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions devcon-api/src/db/account.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,13 @@ model PushSubscription {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}

model Notification {
id String @id @default(uuid())
sent Boolean @default(false)
title String
message String
sendAt DateTime
createdBy String
createdAt DateTime @default(now())
}

0 comments on commit 97ce0f9

Please sign in to comment.