https://github.com/wangyuheng/ddl2plantuml

1
java -jar ~/apps/ddl2plantuml.jar foo.sql er.puml
1
2
3
4
5
docker run \
-e DDL='/mnt/data/ddl.sql' \
-e PLANTUML='/mnt/data/er_by_docker.puml' \
-v ddl2plantuml-data:'/mnt/data' \
wangyuheng/ddl2plantuml:latest