migrate ✅ 优化migrate

This commit is contained in:
linwenxiang committed 2021-04-23 14:25:31 +08:00
1 parent e40047a88e
commit 1a111f0666
49 files changed
+677 -202

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
package models
type SysSetting struct {
SettingsId int `json:"settings_id" gorm:"primary_key;AUTO_INCREMENT"`
Name string `json:"name" gorm:"type:varchar(256);"`
Logo string `json:"logo" gorm:"type:varchar(256);"`
ModelTime
}
func (SysSetting) TableName() string {
return "sys_setting"
}