@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/prisma/app.prisma +11 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielcok17/prisma-db",
3
- "version": "1.20.9",
3
+ "version": "1.20.10",
4
4
  "description": "Shared Prisma schema for Legal AI applications",
5
5
  "repository": {
6
6
  "type": "git",
package/prisma/app.prisma CHANGED
@@ -341,14 +341,17 @@ model Answer {
341
341
  }
342
342
 
343
343
  model MessageFile {
344
- id String @id @default(cuid())
345
- answerId String?
346
- fileName String
347
- fileType String
348
- base64Data String
349
- extractedText String?
350
- uploadedAt DateTime @default(now())
351
- answer Answer? @relation(fields: [answerId], references: [id], onDelete: Cascade)
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])