In a Ruby on Rails project, all migration files generate into the same
directory db/migrate. It’s enough for simple projects, but not
that good for large modulized projects. It is inconvenient to review
thousands of files in the same directory for one project.
It looks like:
Since MVC directories are modular, the migration directory should the
It’s expected to be structured and clear. That’s the reason I release
Just include it in your Gemfile:
Using Rails generator as usual:
$ rails generate model Core::User name:string
It will look like:
Source code and issue tracking: https://github.com/swordray/modular_migration
Welcome to star, fork and pull request at GitHub.