diff options
Diffstat (limited to 'models/migrations/v1_14/v176.go')
-rw-r--r-- | models/migrations/v1_14/v176.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_14/v176.go b/models/migrations/v1_14/v176.go index bd2484e49d..1ed49f75fa 100644 --- a/models/migrations/v1_14/v176.go +++ b/models/migrations/v1_14/v176.go @@ -42,7 +42,7 @@ func RemoveInvalidLabels(x *xorm.Engine) error { LabelID int64 `xorm:"UNIQUE(s)"` } - if err := x.Sync2(new(Comment), new(Issue), new(Repository), new(Label), new(IssueLabel)); err != nil { + if err := x.Sync(new(Comment), new(Issue), new(Repository), new(Label), new(IssueLabel)); err != nil { return err } |