diff --git a/src/main/java/it/numble/hittracker/entity/DailyHitLog.java b/src/main/java/it/numble/hittracker/entity/DailyHitLog.java index 3f11366..c2b3b7a 100644 --- a/src/main/java/it/numble/hittracker/entity/DailyHitLog.java +++ b/src/main/java/it/numble/hittracker/entity/DailyHitLog.java @@ -27,8 +27,7 @@ public class DailyHitLog { @Column(nullable = false) private int dailyHit; @ManyToOne - @JoinColumn(name = "url_id") - @Column(nullable = false) + @JoinColumn(name = "url_id", nullable = false) private Url url; public DailyHitLog(LocalDate date, int dailyHit, Url url) {