From 56ab8312f17f2c19928f0b0741319b8ee3228d46 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 19 May 2022 14:32:10 +0200 Subject: [PATCH] remove notifications for now --- .../20220517081338_notifications/migration.sql | 10 ---------- prisma/schema.prisma | 10 ---------- 2 files changed, 20 deletions(-) delete mode 100644 prisma/migrations/20220517081338_notifications/migration.sql 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