Skip to content

Commit

Permalink
Comment.java
Browse files Browse the repository at this point in the history
  • Loading branch information
VladSlob authored Aug 1, 2024
1 parent 0b69055 commit 082179c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/core/basesyntax/model/Comment.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ public class Comment {

@ManyToMany(cascade = {CascadeType.PERSIST, CascadeType.MERGE})
@JoinTable(
name = "comment_smile",
joinColumns = @JoinColumn(name = "comment_id"),
inverseJoinColumns = @JoinColumn(name = "smile_id")
name = "comment_smile",
joinColumns = @JoinColumn(name = "comment_id"),
inverseJoinColumns = @JoinColumn(name = "smile_id")
)
private List<Smile> smiles;

Expand Down

0 comments on commit 082179c

Please sign in to comment.