healthchecks/hc/api/migrations/0048_auto_20190102_0737.py
2019-05-15 14:27:50 +03:00

16 lines
403 B
Python

# Generated by Django 2.1.4 on 2019-01-02 07:37
from django.db import migrations
def remove_anon_checks(apps, schema_editor):
Check = apps.get_model("api", "Check")
Check.objects.filter(user=None).delete()
class Migration(migrations.Migration):
dependencies = [("api", "0047_auto_20181225_2315")]
operations = [migrations.RunPython(remove_anon_checks, migrations.RunPython.noop)]