Skip to content

Commit

Permalink
BE: [fix] Session 엔티티에서 ExamId 참조하는 컬럼 네임 수정 #6
Browse files Browse the repository at this point in the history
  • Loading branch information
JongbeomLee623 committed Nov 2, 2024
1 parent f0d627a commit 9d23ec8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class Session {
private Integer sessionId; // 자동 증가

@OneToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "exam_id", nullable = false) // exam_id를 외래 키로 설정
@JoinColumn(name = "examId", nullable = false) // exam_id를 외래 키로 설정
private Exam exam; // Exam과 1:1 관계

private String sessionReport;
Expand Down

0 comments on commit 9d23ec8

Please sign in to comment.