{"id":19467159,"url":"https://github.com/swordray/modular_migration","last_synced_at":"2025-04-25T11:30:54.465Z","repository":{"id":14930709,"uuid":"17655131","full_name":"swordray/modular_migration","owner":"swordray","description":"Rails migration files generate into corresponding modular directories","archived":false,"fork":false,"pushed_at":"2022-01-25T06:01:45.000Z","size":19,"stargazers_count":39,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2023-08-15T07:10:31.134Z","etag":null,"topics":["activerecord","migrations","rails","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"apache/cordova-plugin-media-capture","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/swordray.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}},"created_at":"2014-03-12T04:15:19.000Z","updated_at":"2023-02-15T07:12:57.000Z","dependencies_parsed_at":"2022-09-12T04:11:07.884Z","dependency_job_id":null,"html_url":"https://github.com/swordray/modular_migration","commit_stats":null,"previous_names":[],"tags_count":5,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fmodular_migration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fmodular_migration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fmodular_migration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swordray%2Fmodular_migration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swordray","download_url":"https://codeload.github.com/swordray/modular_migration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223997672,"owners_count":17238592,"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":["activerecord","migrations","rails","ruby"],"created_at":"2024-11-10T18:33:40.752Z","updated_at":"2024-11-10T18:33:41.183Z","avatar_url":"https://github.com/swordray.png","language":"Ruby","readme":"# modular_migration\n[![Gem Version](https://badge.fury.io/rb/modular_migration.png)](http://badge.fury.io/rb/modular_migration) [![Build Status](https://secure.travis-ci.org/swordray/modular_migration.png?branch=master)](http://travis-ci.org/swordray/modular_migration)\n[![DependencyStatus](https://gemnasium.com/swordray/modular_migration.png?travis)](https://gemnasium.com/swordray/modular_migration)\n[![Code Climate](https://codeclimate.com/github/swordray/modular_migration.png)](https://codeclimate.com/github/swordray/modular_migration)\n\nRails migration files generates into relevant modular directory\n\n## Requirements\n\n* Ruby ~\u003e 2.0\n* Rails\n\n## Installation\n\nInclude the gem in your Gemfile:\n\n```ruby\ngem 'modular_migration'\n```\n\n## Usage\n\nDo nothing.\n\n## Example\n\n- Generate model\n\n    ```bash\n    $ rails g model core/user name:string\n    invoke  active_record\n    create    app/models/core/user.rb\n    create    app/models/core.rb\n    create    db/migrate/core/user/20140324105328_create_core_users.rb\n    ```\n\n- Generate migration\n\n    ```bash\n    $ rails g migration AddGenderToCoreUser gender:integer\n    invoke  active_record\n    create    db/migrate/core/user/20140324105719_add_gender_to_core_user.rb\n    ```\n\n## Sponsors\n\n* [BaiLu ShuYuan](https://bailushuyuan.org)\n\n## License\n\nCopyright © 2014 Lijia Tong \u003cuser_tony@163.com\u003e under The [MIT License](http://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordray%2Fmodular_migration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswordray%2Fmodular_migration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswordray%2Fmodular_migration/lists"}