From a1d5664d6b4faa919f087be12ec6d7b5ee491a99 Mon Sep 17 00:00:00 2001 From: Xor290 Date: Thu, 11 Jun 2026 18:41:03 +0200 Subject: [PATCH] chore: build --- backend/gestion/models/product.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/gestion/models/product.go b/backend/gestion/models/product.go index cb66b162..83b8edcc 100644 --- a/backend/gestion/models/product.go +++ b/backend/gestion/models/product.go @@ -24,7 +24,7 @@ type ProductPrice struct { Quantity float64 `json:"quantity" gorm:"column:quantity" binding:"required"` Price float64 `json:"price" gorm:"column:price" binding:"required"` CreatedAt time.Time `json:"created_at" gorm:"autoCreateTime"` - ActivePrice bool `json:"active_price" gorm:"column:active_price;default:true" binding:"required"` + ActivePrice bool `json:"active_price" gorm:"column:active_price;default:true"` } func (ProductPrice) TableName() string { return "product_prices" }