I have been running a big Rails application for over 2 years and, day by day, my ActiveRecord migration folder has been growing up to over 150 files.
There are very
The Rails 4 Way page 177: Sebastian says...
A little-known fact is that you can remove old migration files (while still keeping newer ones) to keep the
db/migrate
folder to a manageable size. You can move the older migrations to adb/archived_migrations
folder or something like that. Once you do trim the size of your migrations folder, use therake db:reset
task to (re-)create your database fromdb/schema.rb
and load the seeds into your current environment.