Flyway never blindly reruns old migrations. It checks flyway_schema_history and only applies pending migrations.