From 67afc3ed1c73ef19884c4a33be1363bbe385ab9e Mon Sep 17 00:00:00 2001 From: ckkim817 Date: Sun, 19 Jan 2025 20:26:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20OpeningHour=20=EB=B3=B5=ED=95=A9=20?= =?UTF-8?q?=EC=9D=B8=EB=8D=B1=EC=8A=A4=EB=A1=9C=20=EC=88=98=EC=A0=95=20(#2?= =?UTF-8?q?4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../acon/server/spot/infra/entity/OpeningHourEntity.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/acon/server/spot/infra/entity/OpeningHourEntity.java b/src/main/java/com/acon/server/spot/infra/entity/OpeningHourEntity.java index ced940d..6f143da 100644 --- a/src/main/java/com/acon/server/spot/infra/entity/OpeningHourEntity.java +++ b/src/main/java/com/acon/server/spot/infra/entity/OpeningHourEntity.java @@ -20,8 +20,10 @@ @Getter @NoArgsConstructor(access = AccessLevel.PROTECTED) @Table( - name = "opening_hour", indexes = @Index( - name = "idx_spot_id", columnList = "spot_id" + name = "opening_hour", + indexes = @Index( + name = "idx_opening_hour_spot_id_day_of_week", + columnList = "spot_id, day_of_week" ) ) public class OpeningHourEntity {