From 9820801634cfb859a8869153a31937783dcf1edc Mon Sep 17 00:00:00 2001 From: Yang Luo Date: Tue, 5 Sep 2023 20:24:24 +0800 Subject: [PATCH] Make Product's Providers longer (255) --- object/product.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/object/product.go b/object/product.go index e38d3e02..8e79af2c 100644 --- a/object/product.go +++ b/object/product.go @@ -37,7 +37,7 @@ type Product struct { Price float64 `json:"price"` Quantity int `json:"quantity"` Sold int `json:"sold"` - Providers []string `xorm:"varchar(100)" json:"providers"` + Providers []string `xorm:"varchar(255)" json:"providers"` ReturnUrl string `xorm:"varchar(1000)" json:"returnUrl"` State string `xorm:"varchar(100)" json:"state"`