Allow null store in inventory
This commit is contained in:
@@ -22,7 +22,7 @@ public class Inventory {
|
||||
private Product product;
|
||||
|
||||
@ManyToOne
|
||||
@JoinColumn(name = "store_id", nullable = false)
|
||||
@JoinColumn(name = "store_id", nullable = true)
|
||||
private Store store;
|
||||
|
||||
@Column(nullable = false)
|
||||
|
||||
Reference in New Issue
Block a user