aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_16/v190.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_16/v190.go')
-rw-r--r--models/migrations/v1_16/v190.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_16/v190.go b/models/migrations/v1_16/v190.go
index 1853729ae9..5953802849 100644
--- a/models/migrations/v1_16/v190.go
+++ b/models/migrations/v1_16/v190.go
@@ -16,7 +16,7 @@ func AddAgitFlowPullRequest(x *xorm.Engine) error {
Flow PullRequestFlow `xorm:"NOT NULL DEFAULT 0"`
}
- if err := x.Sync2(new(PullRequest)); err != nil {
+ if err := x.Sync(new(PullRequest)); err != nil {
return fmt.Errorf("sync2: %w", err)
}
return nil