Files
wrong-notebook/prisma/migrations
margrop 38657879c3 perf(db): 优化 SQLite 索引覆盖共享错题本排序与试卷外键置空
- ErrorItem 改为 (subjectId, createdAt) 复合索引,共享错题本列表不再临时排序
- 为 ExamQuestion.errorItemId 补充外键索引,删除错题置空引用不再全表扫描
- 移除 AiDailyUsage 与唯一索引重复的 (userId, day) 索引
- 迁移测试补充索引与 EXPLAIN QUERY PLAN 断言
Refs: https://github.com/margrop/wrong-notebook/issues/104
2026-12-04 16:37:27 +08:00
..
2025-11-28 08:17:33 +08:00
2025-11-29 23:31:51 +08:00
2025-11-29 23:31:51 +08:00