Skip to content

Commit

Permalink
Fix JoinColumn reference for address in Shipment model
Browse files Browse the repository at this point in the history
  • Loading branch information
amine20akka committed Dec 29, 2024
1 parent 335aa0c commit cf63a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shipping/src/main/java/org/shipping/model/Shipment.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Shipment {
private LocalDateTime deliveryDate;

@ManyToOne
@JoinColumn(name = "addressId", referencedColumnName = "id")
@JoinColumn(name = "addressId", referencedColumnName = "addressId")
private Address address;


Expand Down

0 comments on commit cf63a93

Please sign in to comment.