0003_auto_20211127_0159.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Generated by Django 3.2.9 on 2021-11-27 01:59
  2. import datetime
  3. import django.core.validators
  4. from django.db import migrations, models
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. ('uptime', '0002_auto_20210822_1617'),
  8. ]
  9. operations = [
  10. migrations.RemoveField(
  11. model_name='monitor',
  12. name='ip_address',
  13. ),
  14. migrations.AlterField(
  15. model_name='monitor',
  16. name='interval',
  17. field=models.DurationField(default=datetime.timedelta(seconds=60), validators=[django.core.validators.MaxValueValidator(datetime.timedelta(seconds=86399))]),
  18. ),
  19. migrations.AlterField(
  20. model_name='monitor',
  21. name='monitor_type',
  22. field=models.CharField(choices=[('Ping', 'Ping'), ('GET', 'Get'), ('POST', 'Post'), ('SSL', 'Ssl'), ('Heartbeat', 'Heartbeat')], default='Ping', max_length=12),
  23. ),
  24. migrations.AlterField(
  25. model_name='monitor',
  26. name='url',
  27. field=models.URLField(blank=True, max_length=2000),
  28. ),
  29. ]