Trash ID Update Collections
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "Drawing" ADD COLUMN "preview" TEXT;
|
||||
@@ -1,3 +1,3 @@
|
||||
# Please do not edit this file manually
|
||||
# It should be added in your version-control system (e.g., Git)
|
||||
provider = "sqlite"
|
||||
# It should be added in your version-control system (i.e. Git)
|
||||
provider = "sqlite"
|
||||
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user