fix: 解决部分情况下升级版本不显示的问题 (#5261)
Some checks failed
Build Test / build-linux-binary (push) Failing after -4m56s
Build / SonarCloud (push) Failing after 3s
sync2gitee / repo-sync (push) Failing after 1s

Refs https://github.com/1Panel-dev/1Panel/issues/5256
This commit is contained in:
zhengkunwang 2024-06-03 17:55:46 +08:00 committed by GitHub
parent bdf8ba45ac
commit ceca7fade0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ type App struct {
Type string `json:"type" gorm:"type:varchar(64);not null"`
Status string `json:"status" gorm:"type:varchar(64);not null"`
Required string `json:"required" gorm:"type:varchar(64);"`
CrossVersionUpdate bool `json:"crossVersionUpdate"`
CrossVersionUpdate bool `json:"crossVersionUpdate" yaml:"crossVersionUpdate"`
Limit int `json:"limit" gorm:"type:Integer;not null"`
Website string `json:"website" gorm:"type:varchar(64);not null"`
Github string `json:"github" gorm:"type:varchar(64);not null"`