Trash ID Update Collections

This commit is contained in:
Zimeng Xiong
2025-11-21 19:31:59 -08:00
parent 4e8beae0ee
commit 0878b5e87f
16 changed files with 169 additions and 101 deletions
+1
View File
@@ -24,6 +24,7 @@ model Drawing {
name String
elements String // Stored as JSON string
appState String // Stored as JSON string
preview String? // SVG string for thumbnail
version Int @default(1)
collectionId String?
collection Collection? @relation(fields: [collectionId], references: [id])