Skip to content

Commit 052f4ba

Browse files
Athos Coutoluisfvieirasilva
authored andcommitted
Sort .schema statements by table name
1 parent fb302fa commit 052f4ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/shellcmd/schemas.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var schemaCmd = &cobra.Command{
2727
schemaStatement += " and name like '" + args[0] + "'"
2828
}
2929

30-
schemaStatement += " order by name"
30+
schemaStatement += " order by tbl_name"
3131

3232
return config.Db.ExecuteAndPrintStatements(schemaStatement, config.OutF, true, enums.TABLE_MODE)
3333
},

0 commit comments

Comments
 (0)