浏览代码

remove uniqueness condition from git repo model

Alexander Belanger 5 年之前
父节点
当前提交
a8314ab86b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/models/gitrepo.go

+ 1 - 1
internal/models/gitrepo.go

@@ -14,7 +14,7 @@ type GitRepo struct {
 	ProjectID uint `json:"project_id"`
 
 	// The username/organization that this repo integration is linked to
-	RepoEntity string `json:"repo_entity" gorm:"unique"`
+	RepoEntity string `json:"repo_entity"`
 
 	// The various auth mechanisms available to the integration
 	OAuthIntegrationID uint