@danielcok17/prisma-db 1.20.11 → 1.20.13
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
CHANGED
package/prisma/app.prisma
CHANGED
|
@@ -350,6 +350,7 @@ model MessageFile {
|
|
|
350
350
|
convertedFileName String?
|
|
351
351
|
convertedFileType String?
|
|
352
352
|
extractedText String?
|
|
353
|
+
positionData Json? // Serialized TextPosition[] for coordinate-based citation highlighting
|
|
353
354
|
uploadedAt DateTime @default(now())
|
|
354
355
|
answer Answer? @relation(fields: [answerId], references: [id], onDelete: Cascade)
|
|
355
356
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
-- Add converted preview fields for MessageFile.
|
|
2
|
+
-- These columns are nullable so existing message files remain valid.
|
|
3
|
+
ALTER TABLE "MessageFile"
|
|
4
|
+
ADD COLUMN IF NOT EXISTS "convertedBase64Data" TEXT,
|
|
5
|
+
ADD COLUMN IF NOT EXISTS "convertedFileName" TEXT,
|
|
6
|
+
ADD COLUMN IF NOT EXISTS "convertedFileType" TEXT;
|