diff --git a/src/main/java/cat/udl/eps/softarch/demo/domain/Favourite.java b/src/main/java/cat/udl/eps/softarch/demo/domain/Favourite.java index 7dd7ad60..9eb740be 100644 --- a/src/main/java/cat/udl/eps/softarch/demo/domain/Favourite.java +++ b/src/main/java/cat/udl/eps/softarch/demo/domain/Favourite.java @@ -17,10 +17,8 @@ public class Favourite extends UriEntity{ Long id; @ManyToOne - @JoinColumn(name = "id") Pet pet; @ManyToOne - @JoinColumn(name = "id") User user; }