def METHOD_NAME(apps, schema_editor):
    """Update the parameter values for all parts:
    - Calculate the 'data_numeric' value for each parameter
    - If the template has invalid units, we'll ignore
    """
    PartParameter = apps.get_model('part', 'PartParameter')
    n_params = PartParameter.objects.count()
    # Convert each parameter value to a the specified units
    for parameter in PartParameter.objects.all():
        try:
            parameter.data_numeric = convert_to_numeric_value(parameter.data, parameter.template.units)
            parameter.save()
        except Exception:
            pass
    if n_params > 0:
        print(f"Updated {n_params} parameter values")