feat: add disable option for storage (close #1476)

This commit is contained in:
Noah Hsu
2022-08-11 21:08:50 +08:00
parent af884010d1
commit 74f1154e5e
4 changed files with 101 additions and 0 deletions

View File

@ -12,6 +12,7 @@ type Storage struct {
Addition string `json:"addition" gorm:"type:text"` // Additional information, defined in the corresponding driver
Remark string `json:"remark"`
Modified time.Time `json:"modified"`
Disabled bool `json:"disabled"` // if disabled
Sort
Proxy
}