Переглянути джерело

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