0003_auto_20210219_1951.py 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Generated by Django 3.1.7 on 2021-02-19 19:51
  2. from django.db import migrations, models
  3. import django.db.models.deletion
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ("issues", "0002_auto_20210219_1931"),
  7. ("events", "0002_auto_20210122_1836"),
  8. ]
  9. operations = [
  10. migrations.AddField(
  11. model_name="event",
  12. name="level",
  13. field=models.PositiveSmallIntegerField(
  14. choices=[
  15. (0, "sample"),
  16. (1, "debug"),
  17. (2, "info"),
  18. (3, "warning"),
  19. (4, "error"),
  20. (5, "fatal"),
  21. ],
  22. default=4,
  23. ),
  24. ),
  25. migrations.AlterField(
  26. model_name="event",
  27. name="issue",
  28. field=models.ForeignKey(
  29. default=1,
  30. help_text="Sentry calls this a group",
  31. on_delete=django.db.models.deletion.CASCADE,
  32. to="issues.issue",
  33. ),
  34. preserve_default=False,
  35. ),
  36. ]