BUG fix
This commit is contained in:
parent
fcb092cece
commit
43d5356d9e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user