Skip to content

Commit

Permalink
enhance(site): remove uniqueIndex constraint #673
Browse files Browse the repository at this point in the history
  • Loading branch information
0xJacky committed Nov 4, 2024
1 parent 2142f2e commit b552973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/site.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down

0 comments on commit b552973

Please sign in to comment.