From 3f6a6888027b54417a03554e83330c5c94080da4 Mon Sep 17 00:00:00 2001 From: Jihun-Hwang Date: Sat, 20 Jul 2024 15:53:09 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20view=5Fcount=20=EC=BB=AC=EB=9F=BC=20?= =?UTF-8?q?=EA=B8=B0=EC=A4=80=20=EB=82=B4=EB=A6=BC=EC=B0=A8=EC=88=9C=20?= =?UTF-8?q?=EC=A0=95=EB=A0=AC=20=EC=9D=B8=EB=8D=B1=EC=8A=A4=EB=A1=9C=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migration/entity/V1.00.0.14__manage_article_view_count.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/db/migration/entity/V1.00.0.14__manage_article_view_count.sql b/data/db/migration/entity/V1.00.0.14__manage_article_view_count.sql index 5b1c3bce8..316ce7bf0 100644 --- a/data/db/migration/entity/V1.00.0.14__manage_article_view_count.sql +++ b/data/db/migration/entity/V1.00.0.14__manage_article_view_count.sql @@ -9,4 +9,4 @@ CREATE TABLE ARTICLE_VIEW_COUNT -- 조회수 순으로 아티클 조회시 사용하기 위한 인덱스 -- ex. SELECT * FROM ARTICLE_VIEW_COUNT ORDER BY view_count; -CREATE INDEX article_view_count_idx ON ARTICLE_VIEW_COUNT (view_count); +CREATE INDEX article_view_count_desc_idx1 ON ARTICLE_VIEW_COUNT(view_count DESC);