Преглед на файлове

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