{"id":15736407,"url":"https://github.com/dgroup/vcs4sql","last_synced_at":"2025-05-12T13:31:47.066Z","repository":{"id":56897300,"uuid":"233699877","full_name":"dgroup/vcs4sql","owner":"dgroup","description":"Organizing version control for the database(s) in a simple, elegant way.","archived":false,"fork":false,"pushed_at":"2020-03-29T14:24:46.000Z","size":80,"stargazers_count":3,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T04:06:24.186Z","etag":null,"topics":["changelog","changeset","database-control","database-management","gem","liquibase","ruby","ruby-gem","ruby-library","sql","sqlite","vcs"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/dgroup.png","metadata":{"files":{"readme":"readme.md","changelog":"changelog.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"license.txt","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-13T21:44:22.000Z","updated_at":"2021-02-27T16:34:23.000Z","dependencies_parsed_at":"2022-08-20T17:40:36.218Z","dependency_job_id":null,"html_url":"https://github.com/dgroup/vcs4sql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgroup%2Fvcs4sql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgroup%2Fvcs4sql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgroup%2Fvcs4sql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgroup%2Fvcs4sql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgroup","download_url":"https://codeload.github.com/dgroup/vcs4sql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253747804,"owners_count":21957808,"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":["changelog","changeset","database-control","database-management","gem","liquibase","ruby","ruby-gem","ruby-library","sql","sqlite","vcs"],"created_at":"2024-10-04T01:40:17.088Z","updated_at":"2025-05-12T13:31:47.016Z","avatar_url":"https://github.com/dgroup.png","language":"Ruby","readme":"[![Gem Version](https://badge.fury.io/rb/vcs4sql.svg)](https://rubygems.org/gems/vcs4sql)\n[![License: MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](./license.txt)\n[![Commit activity](https://img.shields.io/github/commit-activity/y/dgroup/vcs4sql.svg?style=flat-square)](https://github.com/dgroup/vcs4sql/graphs/commit-activity)\n[![Hits-of-Code](https://hitsofcode.com/github/dgroup/vcs4sql)](https://hitsofcode.com/view/github/dgroup/vcs4sql)\n[![Downloads](https://ruby-gem-downloads-badge.herokuapp.com/vcs4sql?type=total)](https://rubygems.org/gems/vcs4sql)\n\n[![Build status circleci](https://circleci.com/gh/dgroup/vcs4sql.svg?style=shield)](https://circleci.com/gh/dgroup/vcs4sql)\n[![0pdd](http://www.0pdd.com/svg?name=dgroup/vcs4sql)](http://www.0pdd.com/p?name=dgroup/vcs4sql)\n[![Dependency Status](https://requires.io/github/dgroup/vcs4sql/requirements.svg?branch=master)](https://requires.io/github/dgroup/vcs4sql/requirements/?branch=master)\n[![Maintainability](https://api.codeclimate.com/v1/badges/e873a41b1c76d7b2d6ae/maintainability)](https://codeclimate.com/github/dgroup/vcs4sql/maintainability)\n\n[![DevOps By Rultor.com](http://www.rultor.com/b/dgroup/vcs4sql)](http://www.rultor.com/p/dgroup/vcs4sql)\n[![EO badge](http://www.elegantobjects.org/badge.svg)](http://www.elegantobjects.org/#principles)\n\nIn the last few years, version control for database became best practice.\nThere are several implementations/ways for ruby, however, most of them are focused/dependent on particular\nframeworks that restrict the migration outside the framework.\nvcs4sql allows organizing version control for the database(s) in a simple, elegant and lightweight way without any dependencies on existing frameworks.\n\nThe main idea is to keep changes as simple as possible and be able to have full control of the database structure without hidden frameworks \"magic\".\nInitial PoC is designed for [sqlite](https://www.sqlite.org). \n\n---\n\n- [Quick start](#quick-start)\n- [Support](#support)\n- [License](#license)\n- [Code of conduct](#code-of-conduct)\n- [Contribution guide](#contribution-guide)\n\n### Quick start\n\n```\n$ gem install vcs4sql\n```\n```bash\n# Define the database migration scripts\n$ tree\n.\n├── bin\n├── Gemfile\n├── Guardfile\n├── Rakefile\n├── ...\n│   ├── ...\n├── sqlite.db\n├── ...\n└── upgrades\n    └── sqlite\n        ├── 001-install-main-tables.sql\n        ├── 002-add-missing-indexes.sql\n        ├── 003-add-missing-foreigh-keys.sql\n        ├── ...\n        └── 999.testdata.sql\n```\n```ruby\nrequire \"vcs4sql\"\n \nVcs4sql::Sqlite::Migration.new \"sqlite.db\"\n                          .upgrade \"upgrades/sqlite\"\n```\nThe scripts will be executed in a natural order based on name, so far.\n\n### Support\n\nIf you want to report a bug, or have ideas, feedback or questions about the gem, [let me know via GitHub issues](https://github.com/dgroup/vcs4sql/issues/new) and I will do my best to provide a helpful answer. Happy hacking!\n\n### License\n\nThe gem is available as open source under the terms of the [MIT License](license.txt).\n\n### Code of conduct\n\nEveryone interacting in this project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](.github/CODE_OF_CONDUCT.md).\n\n### Contribution guide\n\nPull requests are welcome!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgroup%2Fvcs4sql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgroup%2Fvcs4sql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgroup%2Fvcs4sql/lists"}