update app

This commit is contained in:
wangchuxiao
2022-05-10 17:50:22 +08:00
parent 7137924baa
commit 7a423eb6e1
2 changed files with 15 additions and 12 deletions
+6 -6
View File
@@ -274,12 +274,12 @@ func (DepartmentMember) TableName() string {
}
type AppVersion struct {
Version string `gorm:"column:version;size:64"`
Type int `gorm:"column:type;primary_key"`
UpdateTime int `gorm:"column:update_time"`
ForceUpdate bool `gorm:"column:force_update"`
FileName string `gorm:"column:file_name"`
YamlName string `gorm:"column:yaml_name"`
Version string `gorm:"column:version;size:64" json:"version"`
Type int `gorm:"column:type;primary_key" json:"type"`
UpdateTime int `gorm:"column:update_time" json:"update_time"`
ForceUpdate bool `gorm:"column:force_update" json:"force_update"`
FileName string `gorm:"column:file_name" json:"file_name"`
YamlName string `gorm:"column:yaml_name" json:"yaml_name"`
}
func (AppVersion) TableName() string {