feat: retain uploaded STL files for recovery

This commit is contained in:
2026-07-22 02:24:59 +02:00
parent 238ec17155
commit f8bc737214
5 changed files with 18 additions and 11 deletions
@@ -0,0 +1 @@
ALTER TABLE "manual_upload_files" ADD COLUMN "retainedAt" TIMESTAMP(3);
+1
View File
@@ -937,6 +937,7 @@ model ManualUploadFile {
filePath String // Path on shared volume
fileSize BigInt
packageId String? // Set after processing
retainedAt DateTime?
upload ManualUpload @relation(fields: [uploadId], references: [id], onDelete: Cascade)