From fe895901e6547946c5769e60a331371321d6ddac Mon Sep 17 00:00:00 2001 From: Lunix-420 Date: Mon, 11 Nov 2024 15:23:32 +0100 Subject: [PATCH] fix: Broken link from FormOfAddress to Employee --- src/main/java/com/maradona/backend/entities/Employee.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/maradona/backend/entities/Employee.java b/src/main/java/com/maradona/backend/entities/Employee.java index 7029b62..9c85ae0 100644 --- a/src/main/java/com/maradona/backend/entities/Employee.java +++ b/src/main/java/com/maradona/backend/entities/Employee.java @@ -24,7 +24,7 @@ public class Employee { private String lastName; @ManyToOne - @JoinColumn(name = "FID") + @JoinColumn(name = "FID", referencedColumnName = "fid") private FormOfAddress formOfAddress; private LocalTime dStart;