Add mssql migration tests (#6852)

This commit is contained in:
zeripath 2019-05-06 00:42:29 +01:00 committed by Lauris BH
parent 722a2bd7ec
commit 0081cd8dfe
5 changed files with 8 additions and 8 deletions

View file

@ -264,7 +264,7 @@ Please try to upgrade to a lower version (>= v0.6.0) first, then upgrade to curr
return err
}
for i, m := range migrations[v-minDBVersion:] {
log.Info("Migration: %s", m.Description())
log.Info("Migration[%d]: %s", v+int64(i), m.Description())
if err = m.Migrate(x); err != nil {
return fmt.Errorf("do migrate: %v", err)
}