chore: 项目基线(基于 WeKnora 定制版,整理文件忽略规则)

This commit is contained in:
runny committed 2026-11-13 17:54:56 +08:00
commit 9097ee699d
5769 files changed
+1446466

No files matched your search

@@ -0,0 +1,4 @@
-- SQLite expands live references once per cleanup query. Limit that scan to
-- live user messages and use session_id for the owning tenant/liveness join.
CREATE INDEX IF NOT EXISTS idx_messages_live_attachments
ON messages (session_id) WHERE role = 'user' AND deleted_at IS NULL;