Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

remove notifications for now

Andras Bacsai56ab8312f17f
diff --git a/prisma/migrations/20220517081338_notifications/migration.sql b/prisma/migrations/20220517081338_notifications/migration.sql
deleted file mode 100644
index 069f938d59..0000000000
--- 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 4629a1ba13..7cef6adda9 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