malli

2025-08-14T01:28:06.706099Z

Hello. Is there a lib that generates MySQL or postgresql database creation code based on a Malli schema?

2025-08-14T11:51:50.224569Z

I haven't seen one but you might be better off using HoneySQL to write your DDL as Clojure maps: https://cljdoc.org/d/com.github.seancorfield/honeysql/2.7.1340/doc/getting-started/sql-clause-reference#create-table-with-columns