{"id":20811537,"url":"https://github.com/nextbreakpoint/schema2dot","last_synced_at":"2025-07-04T23:05:59.327Z","repository":{"id":82319826,"uuid":"174393116","full_name":"nextbreakpoint/schema2dot","owner":"nextbreakpoint","description":"Generate a graph in dot format from a database schema","archived":false,"fork":false,"pushed_at":"2019-03-20T17:33:12.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-12T04:43:57.010Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextbreakpoint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-07T17:47:13.000Z","updated_at":"2022-06-22T19:43:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"60033c34-b864-416c-b73f-2bc6ddb95023","html_url":"https://github.com/nextbreakpoint/schema2dot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nextbreakpoint/schema2dot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbreakpoint%2Fschema2dot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbreakpoint%2Fschema2dot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbreakpoint%2Fschema2dot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbreakpoint%2Fschema2dot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextbreakpoint","download_url":"https://codeload.github.com/nextbreakpoint/schema2dot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextbreakpoint%2Fschema2dot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263632055,"owners_count":23491530,"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":[],"created_at":"2024-11-17T20:44:25.724Z","updated_at":"2025-07-04T23:05:59.156Z","avatar_url":"https://github.com/nextbreakpoint.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# schema2dot (experimental)\n\nGenerate a graph file in dot format from a database schema.\n\n## How to use\n\nRun Postgres database using Docker:\n\n    docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=password -d postgres\n\nCreate an empty database:\n\n    docker run -it --rm -v $(pwd):/script --link some-postgres:postgres postgres psql -h postgres -U postgres -c \"create database test\"\n\nCreate tables and constraints from a DDL file:\n\n    docker run -it --rm -v $(pwd):/script --link some-postgres:postgres postgres psql -h postgres -U postgres -d test  -f /script/ddl.sql\n\nCreate or edit the configuration file:\n\n    cat test.properties\n\n    jdbc.url=jdbc:postgresql://localhost/test\n    jdbc.username=postgres\n    jdbc.password=password\n\nBuild the schema2dot command (requires Maven):\n\n    mvn clean package\n\nGenerate the graph from the database schema:\n\n    java -jar target/com.nextbreakpoint.schema2dot-1.0.jar test.properties\n\nGenerate a PNG image from the graph (requires Graphviz):\n\n    dot -Tpng graph.dot \u003e graph.png\n\nGenerate a SVG image from the graph (requires Graphviz):\n\n    dot -Tsvg graph.dot \u003e graph.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextbreakpoint%2Fschema2dot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextbreakpoint%2Fschema2dot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextbreakpoint%2Fschema2dot/lists"}