Skip to content

Commit 7ede351

Browse files
committed
Improve a bit more mysql parsing
1 parent 191a082 commit 7ede351

2 files changed

Lines changed: 223 additions & 54 deletions

File tree

cmd/mangosql/actions/diagram/diagram.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,11 @@ func renderColumn(t *core.SQLTable, columns map[string]*core.SQLColumn, writer *
276276
if err != nil {
277277
continue
278278
}
279+
} else {
280+
_, err := writer.WriteString(fmt.Sprintf(" %s: %s\n", c.Name, ""))
281+
if err != nil {
282+
continue
283+
}
279284
}
280285
}
281286
}

0 commit comments

Comments
 (0)