diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 084f0272b2..e2ac255de2 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -629,7 +629,7 @@ module ActiveRecord end end - def needs_migrations? + def needs_migration? current_version < last_version end