sql gets unset in logging of the migrations
Dieser Commit ist enthalten in:
Ursprung
ab82f41ec4
Commit
e15e855531
|
@ -96,7 +96,8 @@ func (m *Middleware) Teardown() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func logmigrations(version int32, name string, dir string, string) {
|
func logmigrations(version int32, name string, dir string, sql string) {
|
||||||
|
sql = ""
|
||||||
log.Info().Int32("version", version).Str("name", name).Str("dir", dir).Msgf("Running Migration %s with version %i in %sward direction", name, version, dir)
|
log.Info().Int32("version", version).Str("name", name).Str("dir", dir).Msgf("Running Migration %s with version %i in %sward direction", name, version, dir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Laden…
In neuem Issue referenzieren