fix: text too long for some option field

This commit is contained in:
HFO4
2022-04-26 19:06:51 +08:00
parent 11043b43e6
commit ae33e077a3
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ type Group struct {
ShareEnabled bool
WebDAVEnabled bool
SpeedLimit int
Options string `json:"-",gorm:"type:text"`
Options string `json:"-" gorm:"size:4294967295"`
// 数据库忽略字段
PolicyList []uint `gorm:"-"`