Skip to content

Commit

Permalink
Merge pull request #126 from cvs-go/feature#125
Browse files Browse the repository at this point in the history
태그 업로드 수정
  • Loading branch information
chaewss authored May 24, 2024
2 parents d1761e4 + 33af25c commit cefe8c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cvsgo/entity/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public class User extends BaseTimeEntity {

private LocalDate deletedDate;

@OneToMany(mappedBy = "user", cascade = CascadeType.PERSIST)
@OneToMany(mappedBy = "user", cascade = CascadeType.PERSIST, orphanRemoval = true)
private List<UserTag> userTags = new ArrayList<>();

@Builder
Expand Down

0 comments on commit cefe8c0

Please sign in to comment.