From 082179cd55a5517e1b6eb9a145ac55b3ca3882bb Mon Sep 17 00:00:00 2001 From: VladSlob <141657806+VladSlob@users.noreply.github.com> Date: Thu, 1 Aug 2024 15:21:00 +0300 Subject: [PATCH] Comment.java --- src/main/java/core/basesyntax/model/Comment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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;