[deploy] add ticket sla, pipeline, automations, kb
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 36s

This commit is contained in:
Pascal Prießnitz
2025-12-03 13:24:25 +01:00
parent ecb348efd0
commit 5bf42f4610
12 changed files with 561 additions and 123 deletions

View File

@@ -40,13 +40,41 @@ model Ticket {
guildId String
topic String?
priority String @default("normal")
status String
status String @default("neu")
claimedBy String?
transcript String?
firstClaimAt DateTime?
firstResponseAt DateTime?
kbSuggestionSentAt DateTime?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model TicketAutomationRule {
id String @id @default(cuid())
guildId String
name String
condition Json
action Json
active Boolean @default(true)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([guildId, active])
}
model KnowledgeBaseArticle {
id String @id @default(cuid())
guildId String
title String
keywords String[]
content String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([guildId])
}
model Level {
id String @id @default(cuid())
userId String