summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2019-05-06 00:42:29 +0100
committerLauris BH <lauris@nix.lv>2019-05-06 02:42:29 +0300
commit0081cd8dfe34bcd9182ccebb406000c17dcb8025 (patch)
tree773754ab8283a4a9200a92ecac9d7082e22471fa /models
parent722a2bd7ec742c7e421a33ee639fcfcf1e8f6efa (diff)
downloadgitea-0081cd8dfe34bcd9182ccebb406000c17dcb8025.tar.gz
gitea-0081cd8dfe34bcd9182ccebb406000c17dcb8025.zip
Add mssql migration tests (#6852)
Diffstat (limited to 'models')
-rw-r--r--models/migrations/migrations.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go
index b86c20576f..f3a090e41c 100644
--- a/models/migrations/migrations.go
+++ b/models/migrations/migrations.go
@@ -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)
}