diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-11 19:35:57 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2025-10-11 19:35:57 +0530 |
commit | a735e0fbe865984c8e76777e34731610ed5e4509 (patch) | |
tree | 09bf5dbde701cae8395e5474339d96c61f502900 | |
parent | a8ce35aa10c0b61458aaee8820f8c937708f1133 (diff) |
only using one shipping addressv0.15.0
-rw-r--r-- | customer/customer.go | 2 | ||||
-rw-r--r-- | main.go | 2 |
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 } @@ -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") { |