In which I mean \"rebasing\" in the dictionary, rather than git definition...
I have a large, long running Rails project that has about 250 migrations, it\'s getting
To automate the merging (or squashing) of migrations, you could use the Squasher gem
Simply install
gem install squasher
And run with a date, and migrations before that date will be merged:
squasher 2016 # => Will merge all migration created before 2016
More details in the README