Explains the migration flow.


  1. Make changes to JPA entities
  2. Create new migration file with next version number
  3. Write SQL to alter schema (add/remove columns, tables, indexes, etc.)
  4. Test migration locally
  5. Commit migration file with code changes
  6. Deploy - Flyway applies migrations automatically on startup