Skip to content

Commit

Permalink
[ADD] 아이디 생성 전략 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
Kim-Dong-Jun99 committed Jun 29, 2023
1 parent f1199c7 commit 67ad860
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@Table(name = "account_book", catalog = "uliga_db")
public class AccountBook extends BaseTimeEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "account_book_id")
private Long id;
@Column(name = "is_private")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@Table(name = "account_book_data", catalog = "uliga_db")
public class AccountBookData extends BaseTimeEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "account_book_data_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@Table(name = "budget", catalog = "uliga_db")
public class Budget extends BaseTimeEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "budget_id")
private Long id;
private Long value;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
@Table(name = "category", catalog = "uliga_db")
public class Category {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "category_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Table(name = "account_book_member", catalog = "uliga_db")
public class AccountBookMember {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "account_book_member_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@Table(name = "schedule_member", catalog = "uliga_db")
public class ScheduleMember {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "schedule_member_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Table(name = "liked", catalog = "uliga_db")
public class Liked {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "liked_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@Inheritance(strategy = InheritanceType.JOINED)
public class MemberBase extends BaseTimeEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "member_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
public class Post extends BaseTimeEntity {

@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "post_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@Table(name = "post_comment", catalog = "uliga_db")
public class PostComment {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "post_comment_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@Table(name = "record_comment", catalog = "uliga_db")
public class RecordComment extends BaseTimeEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "record_comment_id")
private Long id;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@Table(name = "schedule", catalog = "uliga_db")
public class Schedule extends BaseTimeEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "schedule_id")
private Long id;
private String name;
Expand Down

0 comments on commit 67ad860

Please sign in to comment.