From 142eecf17e2ea774d9fff9b1f611e1a6eb9fdd6a Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 8 Jun 2023 19:28:32 +0800 Subject: [PATCH] :sparkles: Attribute View (Database) https://github.com/siyuan-note/siyuan/issues/2829 --- kernel/model/attribute_view.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 8fff1d4d3..cf0e2a85d 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()} }