{"id":13723807,"url":"https://github.com/lechuckroh/octopus-db-tool","last_synced_at":"2026-01-30T11:34:58.362Z","repository":{"id":55589269,"uuid":"195540834","full_name":"lechuckroh/octopus-db-tool","owner":"lechuckroh","description":"DB schema tools with format conversion, source generation, reverse/forward engineering","archived":false,"fork":false,"pushed_at":"2023-06-11T14:17:18.000Z","size":291,"stargazers_count":7,"open_issues_count":24,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-14T13:36:24.145Z","etag":null,"topics":["database-migration","database-schema","flyway","gorm","graphql","jpa-hibernate","liquibase","mysql","protobuf","sqlalchemy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lechuckroh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-07-06T13:10:58.000Z","updated_at":"2024-01-19T05:54:46.000Z","dependencies_parsed_at":"2022-08-15T03:50:27.495Z","dependency_job_id":"a9129425-84a8-4ecf-9170-edecb9bd1596","html_url":"https://github.com/lechuckroh/octopus-db-tool","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechuckroh%2Foctopus-db-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechuckroh%2Foctopus-db-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechuckroh%2Foctopus-db-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lechuckroh%2Foctopus-db-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lechuckroh","download_url":"https://codeload.github.com/lechuckroh/octopus-db-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252926636,"owners_count":21826344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database-migration","database-schema","flyway","gorm","graphql","jpa-hibernate","liquibase","mysql","protobuf","sqlalchemy"],"created_at":"2024-08-03T01:01:45.867Z","updated_at":"2026-01-30T11:34:58.331Z","avatar_url":"https://github.com/lechuckroh.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# octopus-db-tools\n\n![Release](https://github.com/lechuckroh/octopus-db-tool/actions/workflows/release.yml/badge.svg)\n![Test](https://github.com/lechuckroh/octopus-db-tool/actions/workflows/test.yml/badge.svg)\n\n[한국어](README_kr.md)\n\noctopus-db-tools provides:\n* Import/Export various ERD definitions.\n* Generate various file formats.\n\n## Goals\n\n* All-in-one tool to support every possible DB schema formats.\n* DB schema is stored in text format for version control, diff and merge.\n* Octopus-db-tool file format can be used as a SSOT(Single Source Of Truth).\n* Single binary executable CLI which can be used as a part of CI(Continuous Integration), CD(Continuous Deployment) and IaC(Infrastructure as Code).\n\n## Supported Formats\n\n### Import\n* Excel (`*.xlsx`)\n* MySQL DDL (`*.sql`)\n* octopus-db-tools v1 (`*.ojson`)\n* StarUML\n\n### Export\n* DBML\n* Excel (`*.xlsx`)\n* MySQL DDL (`*.sql`)\n\n### Generate\n* GORM source files (`*.go`)\n* GraphQL (`*.graphql`)\n* JPA Kotlin (`*.kt`)\n* Liquibase (`*.yaml`)\n* PlantUML (`*.wsd`, `*.pu`, `*.puml`, `*.plantuml`, `*.iuml`)\n* ProtoBuf (`*.proto`)\n* [Quick DBD](https://www.quickdatabasediagrams.com/)\n* SQLAlchemy (`*.py`)\n\n## Install\n\n```shell\n$ brew tap lechuckroh/tap\n$ brew install octopus-db-tool\n```\n\nTo download binaries: see [Releases](https://github.com/lechuckroh/octopus-db-tool/releases) page.\n\n## Build\n### Local Build\nRequirements:\n* Golang 1.17 +\n* make\n\nRun:\n```shell\n$ make vendor\n$ make compile\n\n# build os-specific binary\n$ make compile-windows-amd64\n$ make compile-linux-amd64\n$ make compile-linux-arm64\n$ make compile-macos-amd64\n$ make compile-macos-arm64\n```\n\n### Docker Build\n```shell\n$ make compile-docker; make compile-rmi\n```\n\n## Run\n\n```shell\n# show help\n$ oct --help\n```\n\nSee the following pages for command line options.\n\n* [initialize](docs/init.md)\n* Commands by format  \n    * [DBML](docs/dbml.md)\n    * [Excel](docs/xlsx.md)\n    * [GORM](docs/gorm.md)\n    * [GraphQL](docs/graphql.md)  \n    * [JPA](docs/jpa.md)  \n    * [Liquibase](docs/liquibase.md)  \n    * [MySQL](docs/mysql.md)\n    * [octopus-db-tools v1](docs/ojson.md)\n    * [ProtoBuf](docs/protobuf.md)\n    * [Quick DBD](docs/quickdbd.md)\n    * [SQLAlchemy](docs/sqlalchemy.md)\n    * [StarUML](docs/staruml.md)\n\n\n## Documents\n\n* [octopus file format](docs/octopus-format.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flechuckroh%2Foctopus-db-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flechuckroh%2Foctopus-db-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flechuckroh%2Foctopus-db-tool/lists"}