remove notifications for now

This commit is contained in:
Andras Bacsai 2022-05-19 14:32:10 +02:00
parent 6fb6a514ac
commit 56ab8312f1
2 changed files with 0 additions and 20 deletions

View File

@ -1,10 +0,0 @@
-- CreateTable
CREATE TABLE "Notification" (
"id" TEXT NOT NULL PRIMARY KEY,
"type" TEXT NOT NULL,
"message" TEXT NOT NULL,
"isRead" BOOLEAN NOT NULL DEFAULT false,
"showAtVersion" TEXT NOT NULL,
"createdAt" DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
"updatedAt" DATETIME NOT NULL
);

View File

@ -25,16 +25,6 @@ model Setting {
updatedAt DateTime @updatedAt
}
model Notification {
id String @id @default(cuid())
type String
message String
isRead Boolean @default(false)
showAtVersion String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model User {
id String @id @unique @default(cuid())
email String @unique