def METHOD_NAME(apps, schema_editor, model_name=None):
    if model_name:
        Model = apps.get_model("logger", model_name)
        try:
            # Prevent the non-existence of this table from blowing up test runs
            # Seems to only occur on test runs on Travis, but otherwise works fine
            # Hopefully future migration squashes should prevent this code being
            # called at all for new users
            for model in Model.objects.all():
                model.save()
        except (OperationalError, ProgrammingError):
            pass