-- 176_document_reads_idx_doc_time.sql (3/3)
-- 문서별 최신순 조회 (library 목록 join 의 MAX(read_at) 빠르게).

CREATE INDEX IF NOT EXISTS idx_document_reads_doc_time
    ON document_reads (document_id, read_at DESC);
