Browse Source

added missing new struct sync (#1021)

Lunny Xiao 3 years ago
parent
commit
d077fd084a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      models/models.go

+ 2 - 0
models/models.go

@@ -114,6 +114,8 @@ func init() {
114 114
 		new(TwoFactor),
115 115
 		new(RepoUnit),
116 116
 		new(RepoRedirect),
117
+		new(ExternalLoginUser),
118
+		new(ProtectedBranch),
117 119
 	)
118 120
 
119 121
 	gonicNames := []string{"SSL", "UID"}