mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 08:13:09 +02:00
Change user avatar properties
This commit is contained in:
parent
c80dbfc963
commit
93b6b2125c
@ -45,11 +45,12 @@ model ArchivedRole {
|
|||||||
}
|
}
|
||||||
|
|
||||||
model ArchivedUser {
|
model ArchivedUser {
|
||||||
|
archivedAvatarId String
|
||||||
archivedMessages ArchivedMessage[]
|
archivedMessages ArchivedMessage[]
|
||||||
avatar String
|
|
||||||
bot Boolean @default(false)
|
bot Boolean @default(false)
|
||||||
discriminator String @db.Char(4)
|
discriminator String @db.Char(4)
|
||||||
displayName String
|
displayName String
|
||||||
|
lastAvatarHash String
|
||||||
role ArchivedRole @relation(fields: [ticketId, roleId], references: [ticketId, roleId])
|
role ArchivedRole @relation(fields: [ticketId, roleId], references: [ticketId, roleId])
|
||||||
roleId String @db.VarChar(19)
|
roleId String @db.VarChar(19)
|
||||||
ticket Ticket @relation(fields: [ticketId], references: [id])
|
ticket Ticket @relation(fields: [ticketId], references: [id])
|
||||||
@ -185,11 +186,11 @@ model Ticket {
|
|||||||
}
|
}
|
||||||
|
|
||||||
model User {
|
model User {
|
||||||
id String @id @unique @db.VarChar(19)
|
id String @id @unique @db.VarChar(19)
|
||||||
// surveyResponses SurveyResponse[]
|
// surveyResponses SurveyResponse[]
|
||||||
ticketsCreated Ticket[] @relation("CreatedTickets")
|
ticketsCreated Ticket[] @relation("CreatedTickets")
|
||||||
ticketsClosed Ticket[] @relation("ClosedTickets")
|
ticketsClosed Ticket[] @relation("ClosedTickets")
|
||||||
ticketsClaimed Ticket[] @relation("ClaimedTickets")
|
ticketsClaimed Ticket[] @relation("ClaimedTickets")
|
||||||
|
|
||||||
@@map("users")
|
@@map("users")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user