Finish the transfiguration feature.

This commit is contained in:
zicla
2019-05-04 03:25:09 +08:00
parent 1f64d92dd2
commit 281e856864
4 changed files with 104 additions and 27 deletions

View File

@ -13,6 +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"`
Version string `json:"version" gorm:"-"`
}
// set File's table name to be `profiles`