Update 1599190683659_tables.go
This commit is contained in:
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
|
||||
})
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user