fix: 数据库表变更
This commit is contained in:
@@ -5,13 +5,16 @@ type NeVersion struct {
|
||||
ID string `json:"id" gorm:"id"`
|
||||
NeType string `json:"neType" gorm:"ne_type" binding:"required"` // 网元类型
|
||||
NeId string `json:"neId" gorm:"ne_id" binding:"required"` // 网元ID
|
||||
Name string `json:"name" gorm:"name"` // 当前包名
|
||||
Version string `json:"version" gorm:"version" binding:"required"` // 当前版本
|
||||
Path string `json:"path" gorm:"path" binding:"required"` // 当前软件包
|
||||
PreName string `json:"preName" gorm:"pre_name"` // 上一版本包名
|
||||
PreVersion string `json:"preVersion" gorm:"pre_version"` // 上一版本
|
||||
PrePath string `json:"prePath" gorm:"pre_path"` // 上一版本软件包
|
||||
NewVersion string `json:"newVersion" gorm:"new_version"` // 下一版本
|
||||
NewPath string `json:"newPath" gorm:"new_path"` // 下一版本软件包
|
||||
Status string `json:"status" gorm:"status"` // 当前状态 1当前版本 2上一版本 3有新版本 (Uploaded下一版本上传 Inactive下一版本待激活 Active当前已激活)
|
||||
NewName string `json:"newName" gorm:"new_name"` // 新版本包名
|
||||
NewVersion string `json:"newVersion" gorm:"new_version"` // 新版本
|
||||
NewPath string `json:"newPath" gorm:"new_path"` // 新版本软件包
|
||||
Status string `json:"status" gorm:"status"` // 当前状态 1当前版本 2上一版本 3有新版本
|
||||
CreateBy string `json:"createBy" gorm:"column:create_by"` // 创建者
|
||||
CreateTime int64 `json:"createTime" gorm:"column:create_time"` // 创建时间
|
||||
UpdateBy string `json:"updateBy" gorm:"column:update_by"` // 更新者
|
||||
|
||||
Reference in New Issue
Block a user