diff --git a/models/settings.go b/models/settings.go index 38c5415..f601a98 100644 --- a/models/settings.go +++ b/models/settings.go @@ -10,7 +10,7 @@ type Settings struct { Section string `json:"section" gorm:"type:varchar(100) comment '实例类型';default:'';index:section"` Key string `json:"key" gorm:"type:varchar(100) comment '实例类型';default:'';"` - Value string `json:"value" gorm:"type:text comment '实例类型';default:'';"` + Value string `json:"value" gorm:"type:text comment '实例类型';"` } // AddOneSetting 添加一条设置