fix 🐛 优化迁移功能

This commit is contained in:
linwenxiang committed 2021-04-26 14:47:31 +08:00
1 parent 845558cc65
commit bf7934c20a
21 files changed
+256 -466

No files matched your search

@@ -2,8 +2,6 @@ package models
import (
"time"
"go-admin/common/models"
)
type SysOperaLog struct {
@@ -28,7 +26,7 @@ type SysOperaLog struct {
UserAgent string `json:"userAgent" gorm:"type:varchar(255);comment:ua"`
CreatedAt time.Time `json:"createdAt" gorm:"comment:创建时间"`
UpdatedAt time.Time `json:"updatedAt" gorm:"comment:最后更新时间"`
models.ControlBy
ControlBy
}
func (SysOperaLog) TableName() string {