Update 1599190683659_tables.go

This commit is contained in:
wenjianzhang authored and GitHub committed 2021-10-22 12:05:39 +08:00
1 parent 64cbf31184
commit 443c30d48c
1 file changed
+2 -2
@@ -43,8 +43,8 @@ func _1599190683659Tables(db *gorm.DB, version string) error {
if err := models.InitDb(tx); err != nil {
}
return db.Create(&common.Migration{
return tx.Create(&common.Migration{
Version: version,
}).Error
})
}
}