aboutsummaryrefslogtreecommitdiffstatshomepage
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
parenta8ce35aa10c0b61458aaee8820f8c937708f1133 (diff)
only using one shipping addressv0.15.0
-rw-r--r--customer/customer.go2
-rw-r--r--main.go2
2 files changed, 2 insertions, 2 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
}
diff --git a/main.go b/main.go
index b4f9476..92c1b0a 100644
--- a/main.go
+++ b/main.go
@@ -38,7 +38,7 @@ import (
"log"
)
-const OPENBILLS_VERSION = "v0.14.0"
+const OPENBILLS_VERSION = "v0.15.0"
func init() {
if !viper.GetBool("debug_mode") {