Source:: https://www.schemacrawler.com
curl -s "https://get.sdkman.io" | bash
sdk install schemacrawler
schemacrawler.sh --server postgresql --database trino --host 127.0.0.1 --port 5432 --info-level standard --command script --script-language python --script ~/Downloads/mermaid.py
mermaid.py