Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Add Rollup column to database table view https://github.com/siyuan-note/siyuan/issues/9958

Danielbe4ebe776ded
diff --git a/kernel/av/av.go b/kernel/av/av.go
index 261d36f6f7..fbf59218d8 100644
--- a/kernel/av/av.go
+++ b/kernel/av/av.go
@@ -105,7 +105,8 @@ func NewKey(id, name, icon string, keyType KeyType) *Key {
}
type Rollup struct {
- KeyID string `json:"keyID"` // 汇总列 ID
+ RelationKeyID string `json:"relationKeyID"` // 关联列 ID
+ KeyID string `json:"keyID"` // 目标列 ID
}
type Relation struct {