Skip to content

Commit

Permalink
hotfix : create + schedules_id 로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayon-Hong committed Mar 8, 2024
1 parent 5c4a5d6 commit 20871c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class SharedSchedule extends BaseEntity {
private Long id;

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "schedule_id", nullable = false) // 컬럼명 삭제X
@JoinColumn(name = "schedules_id", nullable = false) // 컬럼명 삭제X
private Schedule schedule;

@ManyToOne(fetch = FetchType.LAZY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class ScheduleDetail {
private double longitude;

@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "schedule_id" , nullable = false) // 컬럼명 삭제X
@JoinColumn(name = "schedules_id" , nullable = false) // 컬럼명 삭제X
private Schedule schedule;

}

0 comments on commit 20871c2

Please sign in to comment.