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

Daniel726d2a9aa4be
diff --git a/kernel/av/av.go b/kernel/av/av.go
index c4f4d58190..261d36f6f7 100644
--- a/kernel/av/av.go
+++ b/kernel/av/av.go
@@ -186,7 +186,6 @@ func NewAttributeView(id string) (ret *AttributeView) {
ret = &AttributeView{
Spec: 0,
ID: id,
- Name: "Untitled",
KeyValues: []*KeyValues{{Key: blockKey}},
ViewID: view.ID,
Views: []*View{view},
@@ -264,9 +263,6 @@ 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 {