新的迁移规则
This commit is contained in:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user