Skip to content

Commit

Permalink
feat: 인덱스 명시
Browse files Browse the repository at this point in the history
  • Loading branch information
youngsu5582 committed Dec 2, 2024
1 parent a31a810 commit caa996f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
import java.time.LocalDateTime;

@Entity
@Table(name = "automatic_matching",
indexes = {
@Index(name = "idx_room_id", columnList = "room_id"),
@Index(name = "idx_room_status", columnList = "status")
}
)
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Getter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
import java.time.LocalDateTime;

@Entity
@Table(name = "automatic_update",
indexes = {
@Index(name = "idx_room_id", columnList = "room_id"),
@Index(name = "idx_room_status", columnList = "status")
}
)
@AllArgsConstructor
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Getter
Expand Down

0 comments on commit caa996f

Please sign in to comment.