{"id":15002596,"url":"https://github.com/sethreno/schemazen","last_synced_at":"2025-04-04T21:11:18.634Z","repository":{"id":7038811,"uuid":"8315399","full_name":"sethreno/schemazen","owner":"sethreno","description":"Script and create SQL Server objects quickly","archived":false,"fork":false,"pushed_at":"2024-01-17T10:23:59.000Z","size":1314,"stargazers_count":339,"open_issues_count":60,"forks_count":141,"subscribers_count":42,"default_branch":"master","last_synced_at":"2025-03-28T20:10:03.924Z","etag":null,"topics":["c-sharp","database","mssql","schema","version-control"],"latest_commit_sha":null,"homepage":"","language":"C#","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/sethreno.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license.txt","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":"2013-02-20T15:05:09.000Z","updated_at":"2025-03-14T08:33:22.000Z","dependencies_parsed_at":"2024-01-14T12:17:40.115Z","dependency_job_id":"cf94be70-ab9a-4277-b9ea-be1b0614648a","html_url":"https://github.com/sethreno/schemazen","commit_stats":{"total_commits":479,"total_committers":31,"mean_commits":"15.451612903225806","dds":0.6367432150313153,"last_synced_commit":"6787ba30e555220c61186cb7b9cd3713cc9226d0"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethreno%2Fschemazen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethreno%2Fschemazen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethreno%2Fschemazen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sethreno%2Fschemazen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sethreno","download_url":"https://codeload.github.com/sethreno/schemazen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249532,"owners_count":20908212,"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":["c-sharp","database","mssql","schema","version-control"],"created_at":"2024-09-24T18:51:24.027Z","updated_at":"2025-04-04T21:11:18.616Z","avatar_url":"https://github.com/sethreno.png","language":"C#","funding_links":["https://www.buymeacoffee.com/sethreno"],"categories":["SQL Server Web Resources"],"sub_categories":[],"readme":"# Schema Zen - Script and create SQL Server objects quickly\n\n## Schema Zen has three main commands:\n\n### script\n\n    dotnet schemazen script --server localhost --database db --scriptDir c:\\somedir\n\nThis will generate sql scripts for all objects in the database in a\ndirectory structure that looks something like:\n```\nc:\\somedir\\\n\tdata\n\tforeign_keys\n\tprocedures\n\ttables\n\tviews\n\tprops.sql\n\tschemas.sql\n```\n\n### create\n\n    dotnet schemazen create --server localhost --database db --scriptDir c:\\somedir\n\nThis will create a database named db from the sql scripts in c:\\somedir.\n\n\n### compare\n\n\tdotnet schemazen compare --source \"server=dev;database=db\" --target \"server=qa;database=db\" --outFile diff.sql\n\nThis will compare the databases named `db` between `dev` and `qa` and\ncreate a sql script called `diff.sql` that can be run on `qa` to make it's\nschema identical to `dev`.\n\n\nSee ```dotnet schemazen help [command]``` for more information and options on each command.\n\n\u003cbr\u003e\u003cbr\u003e\n\n## Quick Start\n\nIf you don't already have a tool manifest in your project\n\n    dotnet new tool-manifest\n\nInstall SchemaZen\n\n    dotnet tool install SchemaZen\n\nScript your database to disk\n\n    dotnet schemazen script --server localhost --database db --scriptDir c:\\somedir\n\n\n## 1.x versions\nSchemaZen was changed to a cross platform dotnet tool in version 2.0. Older 1.x\nreleases can be downloaded [here](https://github.com/sethreno/schemazen/releases)\n\n\n## Contributing\nPull requests are welcome and appreciated. See [contributing.md](contributing.md) for guidelines.\n\n## Chat\n[![Join the chat at https://gitter.im/sethreno/schemazen](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/sethreno/schemazen?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n----\nHere's some stats and an estimate of what it would cost to develop this project.\n[![Scc Count Badge](https://sloc.xyz/github/sethreno/schemazen/)](https://github.com/boyter/scc/)\n[![Scc Count Badge](https://sloc.xyz/github/sethreno/schemazen/?category=cocomo\u0026avg-wage=100000)](https://github.com/boyter/scc/)\n\nIf you've found Schema Zen helpful you can [buy me a\ncoffee](https://www.buymeacoffee.com/sethreno) to say thanks.  Cheers!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsethreno%2Fschemazen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsethreno%2Fschemazen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsethreno%2Fschemazen/lists"}