This commit is contained in:
白茶清欢 2024-04-14 22:00:46 +08:00
parent fcb092cece
commit 43d5356d9e
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ func ParseCreateTableSql(sql string) (*BasicTableInfo, error) {
columnDefined, _, getColumnFunc := generateTableColumnDefined(basic.ModelStructName, r.TableSpec.Columns)
basic.ColumnDescDefined = columnDefined
basic.ModelStruct += getColumnFunc
basic.ModelStruct = basic.ColumnDefined + `\n` + basic.ModelStruct
basic.ModelStruct = basic.ColumnDescDefined + "\n" + basic.ModelStruct
return basic, nil
}