自动化代码不同包结构体不再冲突

This commit is contained in:
piexlmax
2022-03-26 14:44:23 +08:00
parent d96b963385
commit 0b8e15cad1
3 changed files with 67 additions and 64 deletions
@@ -11,6 +11,7 @@ import (
// SysAutoCodeHistory 自动迁移代码记录,用于回滚,重放使用
type SysAutoCodeHistory struct {
global.GVA_MODEL
Package string `json:"package"`
TableName string `json:"tableName"`
RequestMeta string `gorm:"type:text" json:"requestMeta,omitempty"` // 前端传入的结构化信息
AutoCodePath string `gorm:"type:text" json:"autoCodePath,omitempty"` // 其他meta信息 path;path