mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +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 {
|
model ArchivedMessage {
|
||||||
author ArchivedUser? @relation(fields: [ticketId, authorId], references: [ticketId, userId], onDelete: SetNull)
|
author ArchivedUser? @relation(fields: [ticketId, authorId], references: [ticketId, userId], onDelete: SetNull)
|
||||||
authorId String @db.VarChar(19)
|
authorId String @db.VarChar(19)
|
||||||
data Json
|
content String
|
||||||
deleted Boolean @default(false)
|
deleted Boolean @default(false)
|
||||||
edited Boolean @default(false)
|
edited Boolean @default(false)
|
||||||
id String @id @db.VarChar(19)
|
id String @id @db.VarChar(19)
|
||||||
@ -103,7 +103,7 @@ model Guild {
|
|||||||
}
|
}
|
||||||
|
|
||||||
model Tag {
|
model Tag {
|
||||||
content Json
|
content String
|
||||||
guild Guild @relation(fields: [guildId], references: [id])
|
guild Guild @relation(fields: [guildId], references: [id])
|
||||||
guildId String @db.VarChar(19)
|
guildId String @db.VarChar(19)
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
|
Loading…
Reference in New Issue
Block a user