Skip to content

Commit

Permalink
🎨 升级日志
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Nov 20, 2019
1 parent d03d684 commit 46208ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions service/upgradesrv.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ func (srv *upgradeService) Perform() {
}

func perform189_190() {
logger.Infof("upgrading from version [1.8.9] to version [1.9.0]....")
fromVer := "1.8.9"
logger.Infof("upgrading from version [" + fromVer + "] to version [" + model.Version + "]....")

var verSettings []model.Setting
if err := db.Model(&model.Setting{}).Where("`name`= ?", model.SettingNameSystemVer).Find(&verSettings).Error; nil != err {
Expand All @@ -82,7 +83,7 @@ func perform189_190() {
}
tx.Commit()

logger.Infof("upgraded from version [1.8.8] to version [1.8.9] successfully")
logger.Infof("upgraded from version [" + fromVer + "] to version [" + model.Version + "] successfully")
}

func perform188_189() {
Expand Down
2 changes: 1 addition & 1 deletion theme/sw.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 46208ce

Please sign in to comment.