You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
403 B

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