-- 228_progress_topic_pattern_idx.sql -- 패턴별 필터 — chronic/regressed/recovered 탭 조회 빠르게. CREATE INDEX IF NOT EXISTS idx_progress_topic_pattern ON study_question_progress (user_id, study_topic_id, pattern_state);