diff --git a/src/main/java/core/basesyntax/model/Comment.java b/src/main/java/core/basesyntax/model/Comment.java index 59584534..c97a6b23 100644 --- a/src/main/java/core/basesyntax/model/Comment.java +++ b/src/main/java/core/basesyntax/model/Comment.java @@ -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 smiles;