generated from nhcarrigan/template
feat: add birthday system
This commit is contained in:
@ -60,6 +60,7 @@ model configs {
|
||||
eventLogChannel String @default("")
|
||||
messageReportChannel String @default("")
|
||||
joinRole String @default("")
|
||||
birthdayChannel String @default("")
|
||||
|
||||
@@unique([serverId], map: "serverId")
|
||||
}
|
||||
@ -80,3 +81,12 @@ model roles {
|
||||
|
||||
@@unique([serverId, roleId], map: "serverId_roleId")
|
||||
}
|
||||
|
||||
model birthdays {
|
||||
id String @id @default(auto()) @map("_id") @db.ObjectId
|
||||
serverId String
|
||||
userId String
|
||||
birthday DateTime
|
||||
|
||||
@@unique([serverId, userId], map: "serverId_userId")
|
||||
}
|
||||
|
Reference in New Issue
Block a user