cf – create crud from column names.sql
I’m lazy. When it comes to programming, sometimes that’s good and sometimes it makes a mess. Below is a script that you will WANT TO CUSTOMIZE to your programming language; but in essence, after you have a ERD/DDL that you like, you can tap into that work and just run pieces of this script as necessary to create basic SQL CRUD statements.
Probably questionable value to most, but to the few, here ’tis. YMMV && FWIW:
https://gist.github.com/obxpete/305e23b1e1d14dc3672fd01733c06119