aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_10/v94.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_10/v94.go')
-rw-r--r--models/migrations/v1_10/v94.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_10/v94.go b/models/migrations/v1_10/v94.go
index fe3804aee4..c131af162b 100644
--- a/models/migrations/v1_10/v94.go
+++ b/models/migrations/v1_10/v94.go
@@ -11,7 +11,7 @@ func AddStatusCheckColumnsForProtectedBranches(x *xorm.Engine) error {
StatusCheckContexts []string `xorm:"JSON TEXT"`
}
- if err := x.Sync2(new(ProtectedBranch)); err != nil {
+ if err := x.Sync(new(ProtectedBranch)); err != nil {
return err
}