Skip to content

Commit

Permalink
feat: Certification 테이블에 DB index 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
SSung023 committed Sep 12, 2024
1 parent fa98a43 commit 0bd4097
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Index;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.Table;
import java.time.LocalDate;
import lombok.AccessLevel;
import lombok.Builder;
Expand All @@ -29,6 +31,7 @@
@Entity
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@DynamicInsert
@Table(indexes = {@Index(name = "certificated_at_index", columnList = "certificated_at")})
public class Certification extends BaseTimeEntity {
@Id
@Column(name = "certification_id")
Expand Down

0 comments on commit 0bd4097

Please sign in to comment.