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: Add Relation column to database table view https://github.com/siyuan-note/siyuan/issues/9888
Daniel8e4ce816489b
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.goindex 5421319298..6f7f34edea 100644--- a/kernel/model/attribute_view.go+++ b/kernel/model/attribute_view.go@@ -947,6 +947,13 @@ func updateAttributeViewColRelation(operation *Operation) (err error) {BackKeyID: operation.KeyID,}destAdded = true+ if operation.IsTwoWay {+ name := strings.TrimSpace(operation.Name)+ if "" == name {+ name = srcAv.Name+ }+ backRelKey.Name = name+ }}if !destAdded {