From a735e0fbe865984c8e76777e34731610ed5e4509 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 11 Oct 2025 19:35:57 +0530 Subject: only using one shipping address --- customer/customer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'customer') diff --git a/customer/customer.go b/customer/customer.go index c1290bf..2303ae8 100644 --- a/customer/customer.go +++ b/customer/customer.go @@ -54,5 +54,5 @@ type Customer struct { Email string Website string BillingAddress CustomerBillingAddress - ShippingAddresses []CustomerShippingAddress `gorm:"index;constraint:OnDelete:CASCADE;"` + ShippingAddresses CustomerShippingAddress } -- cgit v1.2.3