{"id":22764997,"url":"https://github.com/ssherwood/schemago","last_synced_at":"2026-04-10T16:33:12.279Z","repository":{"id":171698578,"uuid":"648284663","full_name":"ssherwood/schemago","owner":"ssherwood","description":"Simple random schema generator","archived":false,"fork":false,"pushed_at":"2024-07-12T15:10:58.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-02T15:47:57.471Z","etag":null,"topics":["database","generator","postgresql","schema"],"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/ssherwood.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-01T16:02:40.000Z","updated_at":"2024-07-12T15:11:02.000Z","dependencies_parsed_at":"2024-12-11T12:21:26.139Z","dependency_job_id":null,"html_url":"https://github.com/ssherwood/schemago","commit_stats":null,"previous_names":["ssherwood/schemago"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ssherwood/schemago","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssherwood%2Fschemago","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssherwood%2Fschemago/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssherwood%2Fschemago/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssherwood%2Fschemago/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssherwood","download_url":"https://codeload.github.com/ssherwood/schemago/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssherwood%2Fschemago/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267552097,"owners_count":24106000,"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","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","generator","postgresql","schema"],"created_at":"2024-12-11T12:11:15.746Z","updated_at":"2026-04-10T16:33:12.232Z","avatar_url":"https://github.com/ssherwood.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Schemago\n\nSchemago is a simple CLI for generating randomized database schemas.\n\nIt is highly unlikely that you will ever need this tool.\n\n## To Build\n\nRequires golang 1.20+\n\n```shell\n$ go mod download\n$ go build -v ./cmd/schemago\n```\n\n## Usage\n\n```shell\n$ schemago [-tables n] [-columns m] [-enums=true|false] [-schema \u003cname\u003e]\n```\n### Options\n\n- `-tables` will generate the specific number of tables\n- `-columns` will randomly generate up to this number of columns per table\n- `-schema` will override the default random schema name with the one specified\n- `-enums=` enable or disable enums during generation\n\n## Details\n\nUse `schemago` to generate output that can be used as a starting schema for a randomly sized database.  This tool is\nprimarily designed for testing databases for certain load and/or scale requirements.\n\nColumn attributes are randomly generated with specific data types having higher frequency of being generated than\nothers.  Appropriate lengths and defaults are also randomly generated with certain frequency that attempts to model a\nsomewhat realistic database schema.\n\nIndexes and Foreign Keys are also generated with a randomized frequency on appropriate data types.\n\n## Future Enhancements\n\n- Additional configuration options:\n  - Probability configurations \n  - Data types and frequency weights\n- Additional randomized objects:\n  - Views\n  - Constraints\n  - Functions","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssherwood%2Fschemago","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssherwood%2Fschemago","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssherwood%2Fschemago/lists"}