[deploy] add ticket sla, pipeline, automations, kb
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 36s
All checks were successful
Deploy Discord Bot / deploy (push) Successful in 36s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user