def get_revision_history(
    engine: Engine, prefix: str = core_db.DEFAULT_DATABASE_PREFIX
) -> List[str]:
    """
    Return list of all revisions, from base to head.
    Warn: Branching not supported, fails if there's more than one head.
    """
    with alembic_config(engine, prefix=prefix) as config:
        scripts = ScriptDirectory.from_config(config)
        return list(
            reversed([
                rev.revision
                for rev in scripts.iterate_revisions(lower="base", upper="head")
            ])
        )

    Return list of all revisions, from base to head.
    Warn: Branching not supported, fails if there's more than one head.
    
src/core/trulens/core/database/migrations/__init__.py