mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-05 12:23:09 +02:00
Add user message count
This commit is contained in:
parent
57f9628469
commit
da7a2784ea
@ -149,6 +149,7 @@ model Ticket {
|
||||
|
||||
model User {
|
||||
id String @id @db.VarChar(19)
|
||||
messageCount Int @default(0)
|
||||
ticketsCreated Ticket[] @relation("TicketsCreatedByUser")
|
||||
ticketsClosed Ticket[] @relation("TicketsClosedByUser")
|
||||
ticketsClaimed Ticket[] @relation("TicketsClaimedByUser")
|
||||
|
Loading…
Reference in New Issue
Block a user