From 2bf2fdb42904e68626f2d2468625244a38e9a843 Mon Sep 17 00:00:00 2001 From: Isaac Date: Fri, 22 Apr 2022 15:06:15 +0100 Subject: [PATCH] Soft-delete tickets --- prisma/schema.prisma | 1 + 1 file changed, 1 insertion(+) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 74200d0..2ff81d3 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -128,6 +128,7 @@ model Ticket { createdBy User @relation(name: "TicketsCreatedByUser", fields: [createdById], references: [id]) createdById String @db.VarChar(19) firstResponse DateTime? + deleted Boolean @default(false) guild Guild @relation(fields: [guildId], references: [id]) guildId String @db.VarChar(19) id String @id @db.VarChar(19)