Rails migration files generate into corresponding modular directories
14 views
Skip to first unread message
swordray
unread,
Jul 3, 2014, 4:24:10 AM7/3/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
In a Ruby on Rails project, all migration files generate into the same
directory <em>db/migrate</em>. 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.
Since
MVC directories are modular, the migration directory should the same.
It's expected to be structured and clear. That's the reason I release
the gem <a
href="https://github.com/swordray/modular_migration">modular_migration</a>.