mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-01 16:31:25 +03:00
Changed tag content to JSON and added survey links
This commit is contained in:
@@ -79,6 +79,9 @@ model Category {
|
||||
totalLimit Int @default(-1)
|
||||
// survey Survey @relation(fields: [guildId, surveyName], references: [guildId, name])
|
||||
// surveyName String
|
||||
surveyDescription String
|
||||
surveyLink String
|
||||
surveyTitle String
|
||||
|
||||
@@map("categories")
|
||||
}
|
||||
@@ -145,7 +148,7 @@ model Guild {
|
||||
// }
|
||||
|
||||
model Tag {
|
||||
content String @db.Text
|
||||
content Json
|
||||
guild Guild @relation(fields: [guildId], references: [id])
|
||||
guildId String @db.VarChar(19)
|
||||
id Int @id @default(autoincrement())
|
||||
|
Reference in New Issue
Block a user