diff --git a/prisma/migrations/20220517081338_notifications/migration.sql b/prisma/migrations/20220517081338_notifications/migration.sql deleted file mode 100644 index 069f938d5..000000000 --- a/prisma/migrations/20220517081338_notifications/migration.sql +++ /dev/null @@ -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 -); diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 4629a1ba1..7cef6adda 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -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