mirror of
https://github.com/yusufipk/dead-man-switch-2.0.git
synced 2026-09-11 09:26:07 +00:00
feat: phase 4 completed
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Message" ADD COLUMN "isEncrypted" BOOLEAN NOT NULL DEFAULT false;
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user