def _make_constraint_name(tname, *cnames, suffix=''):
    """Returns a constraint name from the given components."""
    constraint_name = f'{tname}_' + '_'.join(cnames)
    return constraint_name[:63 - len(suffix)] + f'_{suffix}'