Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/db/dialect/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ func (mysql) ShowColumnsWithComment(schema, table string) string {
WHERE
table_name = '` + table + `'
AND
table_schema = '` + schema + `'`
table_schema = '` + schema + `'` +
`ORDER BY ORDINAL_POSITION`
}

func (mysql) ShowColumns(table string) string {
Expand Down