{"id":24780514,"url":"https://github.com/tiramizoo/simple_data_migrations","last_synced_at":"2025-10-12T05:30:41.689Z","repository":{"id":45067059,"uuid":"445156611","full_name":"tiramizoo/simple_data_migrations","owner":"tiramizoo","description":"Data migrations","archived":false,"fork":false,"pushed_at":"2022-10-03T07:49:12.000Z","size":22,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-07T10:37:32.591Z","etag":null,"topics":["data","hacktoberfest","migration","rails","ruby"],"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/tiramizoo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-06T12:08:39.000Z","updated_at":"2022-09-26T13:42:45.000Z","dependencies_parsed_at":"2022-09-16T14:01:34.329Z","dependency_job_id":null,"html_url":"https://github.com/tiramizoo/simple_data_migrations","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tiramizoo/simple_data_migrations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiramizoo%2Fsimple_data_migrations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiramizoo%2Fsimple_data_migrations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiramizoo%2Fsimple_data_migrations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiramizoo%2Fsimple_data_migrations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tiramizoo","download_url":"https://codeload.github.com/tiramizoo/simple_data_migrations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tiramizoo%2Fsimple_data_migrations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006098,"owners_count":26084026,"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-10-11T02:00:06.511Z","response_time":55,"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":["data","hacktoberfest","migration","rails","ruby"],"created_at":"2025-01-29T10:31:51.717Z","updated_at":"2025-10-12T05:30:41.397Z","avatar_url":"https://github.com/tiramizoo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Data Migrations\n\nInspired by [data-migrate](https://github.com/ilyakatz/data-migrate) but simplified.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"simple_data_migrations\"\n```\n\n## Usage\n\nInstall by creating db migration file:\n\n`bin/rails generate simple_data_migrations:install` and then run `bin/rails db:migrate`\n\nGenerate sample data migration file by `bin/rails generate simple_data_migrations:template migration-name`\n\nStatus can be displayed by `bin/rails data:migrate:status`\nAnd executed by `bin/rails data:migrate`\n\n### Locked Migrations\n\nTo ensure that migration script is run only once during deploy to multiple machines, one can use `bin/rails data:migrate_with_lock` task.\nIt will use database advisory lock, in similar manner to how the Rails database migrations are run.\nIn case of multiple concurrent task invocations, the first run will succeed but the others will raise `SimpleDataMigrations::ConcurrentRun::Error`.\n\n## Development\n\nTODO:\n  * add configuration\n  * add tests\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/tiramizoo/simple_data_migrations.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiramizoo%2Fsimple_data_migrations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftiramizoo%2Fsimple_data_migrations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftiramizoo%2Fsimple_data_migrations/lists"}