ProtoMagic is a CLI that helps convert database tables into Protocol Buffers files.
databases:
postgresql:
dataSourceName: postgres://postgres:12345@localhost:5432/db-name?sslmode=disable
mysql:
dataSourceName: root:12345@tcp(localhost:3306)/db-name
See: protomagic.yaml
- Run the command by specifying the configuration file
protomagic -c ./my-config-file.yaml