octopus-db-tools provides:
- Import/Export various ERD definitions.
- Generate various file formats.
- All-in-one tool to support every possible DB schema formats.
- DB schema is stored in text format for version control, diff and merge.
- Octopus-db-tool file format can be used as a SSOT(Single Source Of Truth).
- Single binary executable CLI which can be used as a part of CI(Continuous Integration), CD(Continuous Deployment) and IaC(Infrastructure as Code).
- Excel (
*.xlsx) - MySQL DDL (
*.sql) - octopus-db-tools v1 (
*.ojson) - StarUML
- DBML
- Excel (
*.xlsx) - MySQL DDL (
*.sql)
- GORM source files (
*.go) - GraphQL (
*.graphql) - JPA Kotlin (
*.kt) - Liquibase (
*.yaml) - PlantUML (
*.wsd,*.pu,*.puml,*.plantuml,*.iuml) - ProtoBuf (
*.proto) - Quick DBD
- SQLAlchemy (
*.py)
$ brew tap lechuckroh/tap
$ brew install octopus-db-toolTo download binaries: see Releases page.
Requirements:
- Golang 1.17 +
- make
Run:
$ make vendor
$ make compile
# build os-specific binary
$ make compile-windows-amd64
$ make compile-linux-amd64
$ make compile-linux-arm64
$ make compile-macos-amd64
$ make compile-macos-arm64$ make compile-docker; make compile-rmi# show help
$ oct --helpSee the following pages for command line options.
- initialize
- Commands by format