mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-03 16:00:25 +08:00
!109 refactor:ddl生成方式重构,数据类型和长度重构,所有数据库迁移调试
* feat:同步sqlite全量sql * refactor:ddl生成方式重构,数据类型和长度重构,所有数据库迁移调试
This commit is contained in:
@@ -435,7 +435,7 @@ func (d *Db) HintTables(rc *req.Ctx) {
|
||||
res[tName] = make([]string, 0)
|
||||
}
|
||||
|
||||
columnName := fmt.Sprintf("%s [%s]", v.ColumnName, v.ColumnType)
|
||||
columnName := fmt.Sprintf("%s [%s]", v.ColumnName, v.ShowDataType)
|
||||
comment := v.ColumnComment
|
||||
// 如果字段备注不为空,则加上备注信息
|
||||
if comment != "" {
|
||||
|
||||
Reference in New Issue
Block a user