mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-11-09 14:23:08 +02:00
Change message content from JSON to string to allow encryption
This commit is contained in:
parent
324a6f6c30
commit
07eb42f5ab
@ -21,7 +21,7 @@ model ArchivedChannel {
|
||||
model ArchivedMessage {
|
||||
author ArchivedUser? @relation(fields: [ticketId, authorId], references: [ticketId, userId], onDelete: SetNull)
|
||||
authorId String @db.VarChar(19)
|
||||
data Json
|
||||
content String
|
||||
deleted Boolean @default(false)
|
||||
edited Boolean @default(false)
|
||||
id String @id @db.VarChar(19)
|
||||
@ -103,7 +103,7 @@ model Guild {
|
||||
}
|
||||
|
||||
model Tag {
|
||||
content Json
|
||||
content String
|
||||
guild Guild @relation(fields: [guildId], references: [id])
|
||||
guildId String @db.VarChar(19)
|
||||
id Int @id @default(autoincrement())
|
||||
|
Loading…
Reference in New Issue
Block a user