An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Improve database field default filling https://github.com/siyuan-note/siyuan/issues/11966
Daniel3caeeaf29d90
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex b4bc4aca54..f2ac3daadc 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -3157,6 +3157,11 @@ func addAttributeViewBlock(now int64, avID, blockID, groupID, previousBlockID, acontinue}+ if av.KeyTypeRollup == newValue.Type {+ // 汇总字段的值是渲染时计算的,不需要添加到数据存储中+ continue+ }+if av.KeyTypeBlock == newValue.Type {// 如果是主键的话前面已经添加过了,这里仅修改内容blockValue.Block.Content = newValue.Block.Content