diff options
author | Unknwon <u@gogs.io> | 2016-08-26 17:32:41 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-26 17:32:41 -0700 |
commit | 37305a59ca0cdc7efe880d4e54f68ecbe3eacc29 (patch) | |
tree | 538036c9cd11d34e2166bebf2801e89687c81464 /models/migrations/migrations.go | |
parent | bb359a74f124c759a8de1afbf224b658b57760b7 (diff) | |
download | gitea-37305a59ca0cdc7efe880d4e54f68ecbe3eacc29.tar.gz gitea-37305a59ca0cdc7efe880d4e54f68ecbe3eacc29.zip |
migrations: sync table first
Diffstat (limited to 'models/migrations/migrations.go')
-rw-r--r-- | models/migrations/migrations.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/migrations.go b/models/migrations/migrations.go index 5f18960769..42d93edd03 100644 --- a/models/migrations/migrations.go +++ b/models/migrations/migrations.go @@ -245,7 +245,7 @@ func issueToIssueLabel(x *xorm.Engine) error { } if err = sess.Sync2(new(IssueLabel)); err != nil { - return fmt.Errorf("sync2: %v", err) + return fmt.Errorf("Sync2: %v", err) } else if _, err = sess.Insert(issueLabels); err != nil { return fmt.Errorf("insert issue-labels: %v", err) } |