Merge branch 'jng-contract-1225' into dev

This commit is contained in:
JNG 2025-12-25 18:59:09 +08:00
commit c3873e0e3e
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import (
// BundleOrderRecords struct
type BundleOrderRecords struct {
gorm.Model
UUID string `json:"uuid" gorm:"column:uuid;type:varchar(128);comment:UUID"`
UUID string `json:"uuid" gorm:"column:uuid;type:varchar(1024);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:套餐名"`

View File

@ -47,7 +47,7 @@ func loadMysqlConn(conn string) *gorm.DB {
// Bundle数据库的自动迁移
err = db.AutoMigrate(
&model.BundleProfile{},
&model.BundleOrderRecords{},
//&model.BundleOrderRecords{},
&model.ValueAddBundleProfile{},
//&model.ValueAddBundleRecord{}
&model.BundleProfileLang{},