mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
enhance(site): remove uniqueIndex constraint #673
This commit is contained in:
parent
2142f2e1cc
commit
b552973998
1 changed files with 1 additions and 1 deletions
|
@ -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"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue