mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-18 19:44:13 +02:00
feat(db): add table for logging clear commands
This commit is contained in:
parent
f77758c039
commit
c76a514a2c
@ -66,6 +66,7 @@ model User {
|
|||||||
TempBanEndMod TempBan[] @relation("endTbanMod")
|
TempBanEndMod TempBan[] @relation("endTbanMod")
|
||||||
VCMuteUser VCMute[] @relation("vcMuteUser")
|
VCMuteUser VCMute[] @relation("vcMuteUser")
|
||||||
VCMuteMod VCMute[] @relation("vcMuteMod")
|
VCMuteMod VCMute[] @relation("vcMuteMod")
|
||||||
|
ClearCommandMod ClearCommand[]
|
||||||
}
|
}
|
||||||
|
|
||||||
model Verify {
|
model Verify {
|
||||||
@ -312,3 +313,11 @@ model VCMute {
|
|||||||
endTime DateTime?
|
endTime DateTime?
|
||||||
reason String?
|
reason String?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
model ClearCommand {
|
||||||
|
id Int @id @default(autoincrement())
|
||||||
|
mod User @relation(fields: [modId], references: [id])
|
||||||
|
modId String
|
||||||
|
messages Int
|
||||||
|
time DateTime @default(now())
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user