Add the field deletedKeepDays.

This commit is contained in:
lishuang
2020-07-12 17:53:33 +08:00
parent 21d61d9cd2
commit b82bac40fc
2 changed files with 12 additions and 0 deletions

View File

@ -18,6 +18,7 @@ type Preference struct {
AllowRegister bool `json:"allowRegister" gorm:"type:tinyint(1) not null;default:0"`
PreviewConfig string `json:"previewConfig" gorm:"type:text"`
ScanConfig string `json:"scanConfig" gorm:"type:text"`
DeletedKeepDays int64 `json:"deletedKeepDays" gorm:"type:bigint(20) not null;default:7"`
Version string `json:"version" gorm:"-"`
}