def _get_pgh_obj_pk_col(history_model):
    """
    Returns the column name of the PK field tracked by the history model
    """
    return history_model._meta.get_field(
        'pgh_obj'
    ).related_model._meta.pk.column