From ea178b40f349f54f91491d878a94bd6aac1c2d4e Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Thu, 29 Jan 2026 23:55:56 +0800 Subject: [PATCH] :art: Supports cleaning up unreferenced databases https://github.com/siyuan-note/siyuan/issues/11569 Signed-off-by: Daniel <845765@qq.com> --- kernel/model/history.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/model/history.go b/kernel/model/history.go index 37be853fa..caa6cc38a 100644 --- a/kernel/model/history.go +++ b/kernel/model/history.go @@ -987,7 +987,7 @@ func indexHistoryDir(name string, luteEngine *lute.Lute) { } p := strings.TrimPrefix(database, util.HistoryDir) p = filepath.ToSlash(p[1:]) - avName, _ := av.GetAttributeViewName(id) + avName, _ := av.GetAttributeViewNameByPath(database) histories = append(histories, &sql.History{ ID: id, Type: HistoryTypeDatabase,