Skip to content

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

:sparkles: Attribute View (Database) https://github.com/siyuan-note/siyuan/issues/2829

Daniel142eecf17e2e
diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go
index 8fff1d4d34..cf0e2a85d8 100644
--- a/kernel/model/attribute_view.go
+++ b/kernel/model/attribute_view.go
@@ -100,7 +100,7 @@ func (tx *Transaction) doRemoveAttrViewBlock(operation *Operation) (ret *TxErr)
}
func (tx *Transaction) doAddAttrViewColumn(operation *Operation) (ret *TxErr) {
- err := addAttributeViewColumn(operation.Name, operation.Typ, 1024, operation.ParentID)
+ err := addAttributeViewColumn(operation.Name, operation.Typ, -1, operation.ParentID)
if nil != err {
return &TxErr{code: TxErrWriteAttributeView, id: operation.ParentID, msg: err.Error()}
}