feat(server): add blocked state to workspace docs (#10585)

close CLOUD-162
This commit is contained in:
fengmk2
2025-03-05 12:49:33 +00:00
parent 70a0337ea3
commit 43ded6aa38
6 changed files with 55 additions and 9 deletions
+2
View File
@@ -124,6 +124,8 @@ model WorkspaceDoc {
defaultRole Int @default(30) @db.SmallInt
// Page/Edgeless
mode Int @default(0) @db.SmallInt
// Whether the doc is blocked
blocked Boolean @default(false)
workspace Workspace @relation(fields: [workspaceId], references: [id], onDelete: Cascade)