diff --git a/model/site.go b/model/site.go index 5f000a22..7dc5aa39 100644 --- a/model/site.go +++ b/model/site.go @@ -2,7 +2,7 @@ package model type Site struct { Model - Path string `json:"path" gorm:"uniqueIndex"` + Path string `json:"path"` Advanced bool `json:"advanced"` SiteCategoryID uint64 `json:"site_category_id"` SiteCategory *SiteCategory `json:"site_category,omitempty"`