新的迁移规则

This commit is contained in:
GYJ
2025-03-24 21:18:21 +08:00
parent ca62f9b361
commit d4d6c67477
9 changed files with 269 additions and 31 deletions

View File

@@ -7,6 +7,7 @@ type (
TradeNo string `json:"trade_no" gorm:"column:trade_no"`
Money float64 `json:"money" gorm:"column:money"`
UserId int64 `json:"user_id" gorm:"column:user_id"`
State int `json:"state" gorm:"column:state"`
CreateTime string `json:"create_time" gorm:"column:create_time"`
PayTime string `json:"pay_time" gorm:"column:pay_time"`
Type int `json:"type" gorm:"column:type"`
@@ -24,6 +25,7 @@ type (
TradeNo string `json:"trade_no" gorm:"column:trade_no"`
Money float64 `json:"money" gorm:"column:money"`
UserId int64 `json:"user_id" gorm:"column:user_id"`
State int `json:"state" gorm:"column:state"`
CreateTime string `json:"create_time" gorm:"column:create_time"`
PayTime string `json:"pay_time" gorm:"column:pay_time"`
Type int `json:"type" gorm:"column:type"`