Update 1599190683659_tables.go
This commit is contained in:
1 parent
64cbf31184
commit
443c30d48c
1 file changed
+1
-1
@@ -43,7 +43,7 @@ func _1599190683659Tables(db *gorm.DB, version string) error {
|
|||||||
if err := models.InitDb(tx); err != nil {
|
if err := models.InitDb(tx); err != nil {
|
||||||
|
|
||||||
}
|
}
|
||||||
return db.Create(&common.Migration{
|
return tx.Create(&common.Migration{
|
||||||
Version: version,
|
Version: version,
|
||||||
}).Error
|
}).Error
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in new issue
Block a user