Browse Source

remove uniqueness condition from git repo model

Alexander Belanger 5 years ago
parent
commit
a8314ab86b
1 changed files with 1 additions and 1 deletions
  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