@danielcok17/prisma-db 1.20.9 → 1.20.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/app.prisma +11 -8
package/package.json
CHANGED
package/prisma/app.prisma
CHANGED
|
@@ -341,14 +341,17 @@ model Answer {
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
model MessageFile {
|
|
344
|
-
id
|
|
345
|
-
answerId
|
|
346
|
-
fileName
|
|
347
|
-
fileType
|
|
348
|
-
base64Data
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
344
|
+
id String @id @default(cuid())
|
|
345
|
+
answerId String?
|
|
346
|
+
fileName String
|
|
347
|
+
fileType String
|
|
348
|
+
base64Data String
|
|
349
|
+
convertedBase64Data String?
|
|
350
|
+
convertedFileName String?
|
|
351
|
+
convertedFileType String?
|
|
352
|
+
extractedText String?
|
|
353
|
+
uploadedAt DateTime @default(now())
|
|
354
|
+
answer Answer? @relation(fields: [answerId], references: [id], onDelete: Cascade)
|
|
352
355
|
|
|
353
356
|
@@index([answerId])
|
|
354
357
|
@@index([fileType])
|