feat(server): add doc title and summary to database (#10505)

close CLOUD-152
This commit is contained in:
fengmk2
2025-03-06 14:27:42 +00:00
parent 8d10b40b72
commit c76b2504fe
10 changed files with 305 additions and 20 deletions
+2
View File
@@ -126,6 +126,8 @@ model WorkspaceDoc {
mode Int @default(0) @db.SmallInt
// Whether the doc is blocked
blocked Boolean @default(false)
title String? @db.VarChar
summary String? @db.VarChar
workspace Workspace @relation(fields: [workspaceId], references: [id], onDelete: Cascade)