feat: phase 4 completed

This commit is contained in:
Yusuf İpek
2025-12-27 14:28:33 +03:00
parent 70d246bc17
commit 226935e67d
12 changed files with 510 additions and 31 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Message" ADD COLUMN "isEncrypted" BOOLEAN NOT NULL DEFAULT false;
+1
View File
@@ -50,6 +50,7 @@ model Message {
title String
content String? @db.Text
status String @default("DRAFT")
isEncrypted Boolean @default(false)
lastPing DateTime @default(now())
checkInterval Int @default(24)
user User @relation(fields: [userId], references: [id], onDelete: Cascade)