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