You are working on a shiny Flask app which relies on SQLAlchemy for ORM and utilizes Alembic for database schema migrations There are multiple contributors in the project Every now and then the alembic upgrade command fails to something like "... multiple head revisions ..." Sounds familiar? Keep reading. How