Skip to content

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

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

Daniel1b20863f9ceb
diff --git a/kernel/av/av.go b/kernel/av/av.go
index 261d36f6f7..b0be661122 100644
--- a/kernel/av/av.go
+++ b/kernel/av/av.go
@@ -263,6 +263,9 @@ func SaveAttributeView(av *AttributeView) (err error) {
}
}
}
+ if "" == av.Name {
+ av.Name = "Untitled"
+ }
data, err := gulu.JSON.MarshalIndentJSON(av, "", "\t") // TODO: single-line for production
if nil != err {