Skip to content

Commit

Permalink
#5 fix: 모든 엔티티pk 이름 스네이크로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
shinhn committed Oct 8, 2022
1 parent 32291d6 commit 3cc81f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class CountryCode {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "countryCode_id")
@Column(name = "country_code_id")
private Long id;

private int num;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class UserImage {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "userImage_id")
@Column(name = "user_image_id")
private Long id;

@ManyToOne(fetch = FetchType.LAZY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class UserInterest {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
@Column(name = "userInterest_id")
@Column(name = "user_interest_id")
private Long id;

@ManyToOne(fetch = FetchType.LAZY)
Expand Down

0 comments on commit 3cc81f3

Please sign in to comment.