feat(index): add disable index option for storages (#7730)

This commit is contained in:
Jealous
2024-12-30 22:52:55 +08:00
committed by GitHub
parent 040dc14ee6
commit ed149be84b
3 changed files with 15 additions and 1 deletions

View File

@ -1,6 +1,8 @@
package model
import "time"
import (
"time"
)
type Storage struct {
ID uint `json:"id" gorm:"primaryKey"` // unique key
@ -13,6 +15,7 @@ type Storage struct {
Remark string `json:"remark"`
Modified time.Time `json:"modified"`
Disabled bool `json:"disabled"` // if disabled
DisableIndex bool `json:"disable_index"`
EnableSign bool `json:"enable_sign"`
Sort
Proxy