Skip to content

Commit

Permalink
hotfix : create 로 유지 + 컬럼명 schedule_id로 다시 복구 테스트
Browse files Browse the repository at this point in the history
추후 update로 바꾸기
  • Loading branch information
Dayon-Hong committed Mar 8, 2024
1 parent 5708bff commit 5c4a5d6
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 = "schedules_id", nullable = false) // 컬럼명 삭제X
@JoinColumn(name = "schedule_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 = "schedules_id" , nullable = false) // 컬럼명 삭제X
@JoinColumn(name = "schedule_id" , nullable = false) // 컬럼명 삭제X
private Schedule schedule;

}

0 comments on commit 5c4a5d6

Please sign in to comment.