fix: out of order when database is not sqlite3 (#6560)

This commit is contained in:
j2rong4cn
2024-08-03 13:11:09 +08:00
committed by GitHub
parent af9c6afd25
commit 87caaf2459
7 changed files with 14 additions and 9 deletions

View File

@ -29,6 +29,7 @@ type SettingItem struct {
Options string `json:"options"` // values for select
Group int `json:"group"` // use to group setting in frontend
Flag int `json:"flag"` // 0 = public, 1 = private, 2 = readonly, 3 = deprecated, etc.
Index uint `json:"index"`
}
func (s SettingItem) IsDeprecated() bool {