Skip to content

Commit

Permalink
fix: OpeningHour 복합 인덱스로 수정 (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckkim817 committed Jan 19, 2025
1 parent 4b97e4a commit 67afc3e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 67afc3e

Please sign in to comment.