0006_projectalert_name_projectalert_uptime.py 672 B

12345678910111213141516171819202122232425
  1. # Generated by Django 4.0.1 on 2022-01-14 17:03
  2. from django.db import migrations, models
  3. class Migration(migrations.Migration):
  4. dependencies = [
  5. ("alerts", "0005_alter_alertrecipient_url"),
  6. ]
  7. operations = [
  8. migrations.AddField(
  9. model_name="projectalert",
  10. name="name",
  11. field=models.CharField(blank=True, max_length=255),
  12. ),
  13. migrations.AddField(
  14. model_name="projectalert",
  15. name="uptime",
  16. field=models.BooleanField(
  17. default=False,
  18. help_text="Send alert on any uptime monitor check failure",
  19. ),
  20. ),
  21. ]