-- 为学习相关表的时间字段添加索引 -- 用于优化卡管理页面的学习时间筛选查询 -- 为 learn_answer 表的 create_time 字段添加索引 CREATE INDEX IF NOT EXISTS idx_learn_answer_create_time ON learn_answer(create_time); -- 为 learn_examinee 表的 end_time 字段添加索引 CREATE INDEX IF NOT EXISTS idx_learn_examinee_end_time ON learn_examinee(end_time); -- 为 b_customer_video_watches 表的 time 字段添加索引 CREATE INDEX IF NOT EXISTS idx_customer_video_watches_time ON b_customer_video_watches(time);