diff --git a/internal/model/bundle_order_records.go b/internal/model/bundle_order_records.go index c4248e1..4374d6a 100644 --- a/internal/model/bundle_order_records.go +++ b/internal/model/bundle_order_records.go @@ -9,7 +9,7 @@ import ( // BundleOrderRecords struct type BundleOrderRecords struct { gorm.Model - UUID string `json:"uuid" gorm:"column:uuid;type:varchar(1024);comment:UUID"` + UUID string `json:"uuid" gorm:"column:uuid;type:varchar(128);comment:UUID"` OrderNo string `json:"orderNo" gorm:"column:order_no;type:varchar(1024);comment:交易编号"` BundleUUID string `json:"bundleUUID" gorm:"column:bundle_uuid;type:varchar(1024);comment:套餐UUID"` BundleName string `json:"bundleName" gorm:"column:bundle_name;type:varchar(2048);comment:套餐名"`