From eee6bd074c66f11d383603efdec14bb4e11332f7 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sat, 2 Aug 2025 18:22:21 +0800 Subject: [PATCH] :art: Improve database field default filling https://github.com/siyuan-note/siyuan/issues/11966 --- kernel/av/value.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/av/value.go b/kernel/av/value.go index a86354695..ad84355e7 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"`