Merge branch 'dev' into wkf928592-patch-1

This commit is contained in:
wenjianzhang authored and GitHub committed 2022-06-05 10:36:20 +08:00
commit 50f14f7658
40 files changed
+1303 -518

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ func (e *Migration) Migrate() {
var err error
var count int64
for _, v := range versions {
err = e.db.Debug().Table("sys_migration").Where("version = ?", v).Count(&count).Error
err = e.db.Table("sys_migration").Where("version = ?", v).Count(&count).Error
if err != nil {
log.Fatalln(err)
}