aboutsummaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_11/v103.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_11/v103.go')
-rw-r--r--models/migrations/v1_11/v103.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_11/v103.go b/models/migrations/v1_11/v103.go
index e4e16a054e..53527dac58 100644
--- a/models/migrations/v1_11/v103.go
+++ b/models/migrations/v1_11/v103.go
@@ -13,5 +13,5 @@ func AddWhitelistDeployKeysToBranches(x *xorm.Engine) error {
WhitelistDeployKeys bool `xorm:"NOT NULL DEFAULT false"`
}
- return x.Sync2(new(ProtectedBranch))
+ return x.Sync(new(ProtectedBranch))
}