fix: mysql8.0 init data error

This commit is contained in:
engigu
2024-01-26 12:58:41 +08:00
parent 4a0ead5f93
commit 552dffc165
+1 -1
View File
@@ -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 添加一条设置