فهرست منبع

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"`
 	ProjectID uint `json:"project_id"`
 
 
 	// The username/organization that this repo integration is linked to
 	// 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
 	// The various auth mechanisms available to the integration
 	OAuthIntegrationID uint
 	OAuthIntegrationID uint