修改数据库表

This commit is contained in:
bjdgyc
2021-07-19 15:15:29 +08:00
parent 8ff77626d0
commit e4f959cb69
5 changed files with 94 additions and 46 deletions

View File

@@ -10,12 +10,6 @@ const (
InstallData = "OK"
)
type Setting struct {
Id int `json:"id" xorm:"pk autoincr not null"`
Name string `json:"name" xorm:"not null unique"`
Data string `json:"data" xorm:"Text"`
}
type SettingSmtp struct {
Host string `json:"host"`
Port int `json:"port"`