From 57f962846926c727ef3d74d38911caabc77b76b3 Mon Sep 17 00:00:00 2001 From: Isaac Date: Fri, 22 Apr 2022 15:08:15 +0100 Subject: [PATCH] Add Tcket.messageCount to maintain accurate stats after archived messages are deleted --- prisma/schema.prisma | 1 + 1 file changed, 1 insertion(+) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 2ff81d3..c78b167 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -133,6 +133,7 @@ model Ticket { guildId String @db.VarChar(19) id String @id @db.VarChar(19) lastMessage DateTime? + messageCount Int? number Int open Boolean @default(true) openingMessage String @db.VarChar(19)