aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/customer
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-10-11 19:35:57 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-10-11 19:35:57 +0530
commita735e0fbe865984c8e76777e34731610ed5e4509 (patch)
tree09bf5dbde701cae8395e5474339d96c61f502900 /customer
parenta8ce35aa10c0b61458aaee8820f8c937708f1133 (diff)
only using one shipping addressv0.15.0
Diffstat (limited to 'customer')
-rw-r--r--customer/customer.go2
1 files changed, 1 insertions, 1 deletions
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
}