]> acesimba.cloud Git - words.git/commitdiff
数据库同步: 合并离线CS版本词库与进度
authorroot <root@localhost.localdomain>
Wed, 22 Jul 2026 14:33:46 +0000 (22:33 +0800)
committerroot <root@localhost.localdomain>
Wed, 22 Jul 2026 14:33:46 +0000 (22:33 +0800)
- 词库: 从离线版 /home/BCD/DDD/code/db/bcd.db 导入新增 426 个词
  (WEB原有372词为其严格子集,导入后共808词,覆盖Group 1-52)
- 进度: 从 /home/BCD/DDD/code/a/log.txt 解析 PROGRESS_UPDATE,
  按日期粒度补入 93 条 study_logs (WEB原63条为其严格子集,
  现共156条,覆盖Group 1-33,与离线版进度一致)
- pictures 表源/WEB完全一致(105张),未改动
- .gitignore 移除 *.db 忽略规则,数据库纳入版本跟踪;
  新增 *.bak* 忽略本地备份文件
- 线上API已验证: /api/words/27 返回14词,/api/home 词数808

.gitignore
backend/db/bcd.db [new file with mode: 0644]

index 3bd2a53ed883a315fb3896971134cc1ce38e1dd5..fba5ffcbc45e8abc3d0cdd2812706c8077006238 100644 (file)
@@ -13,7 +13,7 @@ frontend/build/
 # Database & Logs
 backend/a/log.txt
 backend/a/error_log.csv
-*.db
+*.bak*
 
 # TTS audio cache (runtime-generated)
 backend/db/tts_cache/
diff --git a/backend/db/bcd.db b/backend/db/bcd.db
new file mode 100644 (file)
index 0000000..ebbe3cc
Binary files /dev/null and b/backend/db/bcd.db differ