Skip to content

Commit

Permalink
Bug: skill_history 테이블 유니크 인덱스 키 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonseon12 committed Jan 26, 2024
1 parent 6dbce62 commit 99f9481
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.Table;
import jakarta.persistence.UniqueConstraint;
import kernel.jdon.jobcategory.domain.JobCategory;
import kernel.jdon.wantedjd.domain.WantedJd;
import lombok.AccessLevel;
Expand All @@ -20,10 +19,7 @@
@Entity
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Table(name = "skill_history",
uniqueConstraints = {
@UniqueConstraint(columnNames = {"job_category_id", "wanted_jd_id", "keyword"})
})
@Table(name = "skill_history")
public class SkillHistory {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Expand Down

0 comments on commit 99f9481

Please sign in to comment.