zzh@ZZHPC:/zdata/Github/zimplebank$ npm install -g @dbml/cli
zzh@ZZHPC:/zdata/Github/zimplebank$ dbml2sql --help Usage: dbml2sql [options] <files...> Options: -V, --version output the version number --mysql --postgres --mssql -o, --out-file <pathspec> compile all input files into a single files -h, --help output usage information
zzh@ZZHPC:/zdata/Github/zimplebank$ dbml2sql --postgres -o doc/schema.sql doc/db.dbml ✔ Generated SQL dump file (PostgreSQL): schema.sql
标签:ZZHPC,Github,--,dbml2sql,zzh,ZIMP,dbml From: https://www.cnblogs.com/zhangzhihui/p/17922810.html