Process Flow - Why migrations version your database schema
Start Migration
Check Current Schema Version
Compare with Migration Version
If Newer
→Apply Migration Changes
Update Schema Version
End Migration
If Not Newer
→Skip Migration
End Migration
The migration process checks the current schema version, applies changes only if the migration is newer, then updates the version to keep track.