diff options
Diffstat (limited to 'models/migrations/v1_12/v138.go')
-rw-r--r-- | models/migrations/v1_12/v138.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/migrations/v1_12/v138.go b/models/migrations/v1_12/v138.go index a2bfdb59a8..8c8d353f40 100644 --- a/models/migrations/v1_12/v138.go +++ b/models/migrations/v1_12/v138.go @@ -14,8 +14,8 @@ func AddResolveDoerIDCommentColumn(x *xorm.Engine) error { ResolveDoerID int64 } - if err := x.Sync2(new(Comment)); err != nil { - return fmt.Errorf("Sync2: %w", err) + if err := x.Sync(new(Comment)); err != nil { + return fmt.Errorf("Sync: %w", err) } return nil } |