aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_14/v173.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_14/v173.go')
-rw-r--r--models/migrations/v1_14/v173.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/models/migrations/v1_14/v173.go b/models/migrations/v1_14/v173.go
index 3b7ecb8f9d..2d9eee9197 100644
--- a/models/migrations/v1_14/v173.go
+++ b/models/migrations/v1_14/v173.go
@@ -14,8 +14,8 @@ func AddTimeIDCommentColumn(x *xorm.Engine) error {
TimeID 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
}