0005_monitor_timeout.py 732 B

1234567891011121314151617181920212223242526
  1. # Generated by Django 4.1.7 on 2023-03-31 13:13
  2. import django.core.validators
  3. from django.db import migrations, models
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ("uptime", "0004_alter_monitor_expected_status"),
  7. ]
  8. operations = [
  9. migrations.AddField(
  10. model_name="monitor",
  11. name="timeout",
  12. field=models.PositiveSmallIntegerField(
  13. blank=True,
  14. help_text="Blank implies default value",
  15. null=True,
  16. validators=[
  17. django.core.validators.MaxValueValidator(28),
  18. django.core.validators.MinValueValidator(1),
  19. ],
  20. ),
  21. ),
  22. ]