-- 183_study_sessions_topic_idx.sql (5/6) -- 주제별 세션 조회용 partial index. CREATE INDEX IF NOT EXISTS idx_study_sessions_topic ON study_sessions (study_topic_id, created_at DESC) WHERE study_topic_id IS NOT NULL;