chore: opt settings code

This commit is contained in:
engigu
2025-12-21 10:35:27 +08:00
parent c06030fe27
commit a740fbb955
+1 -1
View File
@@ -8,7 +8,7 @@ import (
type Setting struct {
ID uint `json:"id" gorm:"primaryKey"`
Section string `json:"section" gorm:"size:50;not null;index:idx_section_key"`
Key string `json:"key" gorm:"size:100;not null;index:idx_section_key"`
Key string `json:"key" gorm:"column:setting_key;size:100;not null;index:idx_section_key"`
Value string `json:"value" gorm:"type:text"`
}