@danielcok17/prisma-db 1.19.1 → 1.19.2
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
|
@@ -930,6 +930,7 @@ enum UserFileUploadSource {
|
|
|
930
930
|
FOLDER // nahraté cez UI priečinka / prípadu
|
|
931
931
|
CHAT // nahraté z chatovej konverzácie
|
|
932
932
|
STORAGE // nahraté priamo do "Môj archív"
|
|
933
|
+
CANVAS // AI-vygenerovaný dokument uložený z canvas editora
|
|
933
934
|
}
|
|
934
935
|
|
|
935
936
|
enum IndexingJobStatus {
|
|
@@ -1159,7 +1160,8 @@ model UserFile {
|
|
|
1159
1160
|
versionNumber Int @default(1)
|
|
1160
1161
|
|
|
1161
1162
|
uploadSource UserFileUploadSource @default(STORAGE)
|
|
1162
|
-
uploadContextId String? // polymorphic: folderId | conversationId | null
|
|
1163
|
+
uploadContextId String? // polymorphic: folderId | conversationId | documentId | null
|
|
1164
|
+
isAiGenerated Boolean @default(false) // true = AI vygeneroval obsah (canvas export)
|
|
1163
1165
|
|
|
1164
1166
|
createdAt DateTime @default(now())
|
|
1165
1167
|
updatedAt DateTime @updatedAt
|