🐛 fix: 修复部分可能形成 SQL 注入的风险

This commit is contained in:
Soulter
2025-03-26 13:41:18 +08:00
parent aca18fab0f
commit d4bcb8174e
3 changed files with 22 additions and 21 deletions
+5 -3
View File
@@ -38,11 +38,13 @@ CREATE TABLE IF NOT EXISTS atri_vision(
);
CREATE TABLE IF NOT EXISTS webchat_conversation(
user_id TEXT,
cid TEXT,
user_id TEXT, -- 会话 id
cid TEXT, -- 对话 id
history TEXT,
created_at INTEGER,
updated_at INTEGER,
title TEXT,
persona_id TEXT
);
);
PRAGMA encoding = 'UTF-8';