Add the preview config.

This commit is contained in:
lishuang
2020-06-21 02:41:13 +08:00
parent 3fb1d874d5
commit 7b875c81d1
3 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@ type Preference struct {
DownloadDirMaxNum int64 `json:"downloadDirMaxNum" gorm:"type:bigint(20) not null;default:-1"`
DefaultTotalSizeLimit int64 `json:"defaultTotalSizeLimit" gorm:"type:bigint(20) not null;default:-1"`
AllowRegister bool `json:"allowRegister" gorm:"type:tinyint(1) not null;default:0"`
OfficeUrl string `json:"officeUrl" gorm:"type:varchar(255)"`
PreviewConfig string `json:"previewConfig" gorm:"type:text"`
Version string `json:"version" gorm:"-"`
}