Skip to content

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

:art: Improve database field default filling https://github.com/siyuan-note/siyuan/issues/11966

Danieleee6bd074c66
diff --git a/kernel/av/value.go b/kernel/av/value.go
index a863546951..ad84355e7e 100644
--- a/kernel/av/value.go
+++ b/kernel/av/value.go
@@ -36,7 +36,7 @@ type Value struct {
KeyID string `json:"keyID,omitempty"`
BlockID string `json:"blockID,omitempty"`
Type KeyType `json:"type,omitempty"`
- IsDetached bool `json:"isDetached,omitempty"`
+ IsDetached bool `json:"isDetached,omitempty"` // 是否为非绑定块,注意这个字段只能在主键(KeyTypeBlock)上使用,其他类型的值不要使用
CreatedAt int64 `json:"createdAt,omitempty"`
UpdatedAt int64 `json:"updatedAt,omitempty"`