Don't be afraid of using your chosen database's command-line client. I might as well say this up front: I don't like using GUI (aka non-command-line or graphical) tools with my databases. This is ...
xo is a command-line tool to generate idiomatic code for different languages code based on a database schema or a custom query. Currently, xo can generate types for tables, enums, stored procedures, ...