Skip to content

Commit

Permalink
fix : friend file cascade
Browse files Browse the repository at this point in the history
  • Loading branch information
NameIsUser06 committed Jan 8, 2024
1 parent c5040e8 commit 00642ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class Friend {
@OneToMany(mappedBy = "friend")
private List<Feed> feed;

@OneToOne
@OneToOne(cascade = CascadeType.ALL)
private File file;

}

0 comments on commit 00642ad

Please sign in to comment.