Skip to content

Commit

Permalink
feat: 누락된 엔티티 옵션 추가 (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
SunwoongH committed Jan 4, 2024
1 parent 8e3d605 commit d32dd64
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ public class Participant extends BaseTimeEntity {
@Column(nullable = false)
@Enumerated(EnumType.STRING)
private Role role;
@Column(nullable = false)
@Column(nullable = false, name = "style_a")
private Integer styleA;
@Column(nullable = false)
@Column(nullable = false, name = "style_b")
private Integer styleB;
@Column(nullable = false)
@Column(nullable = false, name = "style_c")
private Integer styleC;
@Column(nullable = false)
@Column(nullable = false, name = "style_d")
private Integer styleD;
@Column(nullable = false)
@Column(nullable = false, name = "style_e")
private Integer styleE;
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "user_id")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@Entity
public class Trip extends BaseTimeEntity {
@Id
@GeneratedValue
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "trip_id")
private Long id;
@Column(nullable = false)
Expand Down

0 comments on commit d32dd64

Please sign in to comment.