versionize_old_migrations 1.0.1
Beginning with Rails 5, migrations must have the Rails version they were created with appended to the base class name ActiveRecord::Migration. Migrations created prior to Rails 5 should have [4.2] appended, which is what this gem does.