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.

50 lines
1.5 KiB

  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.10.1 on 2016-12-13 10:59
  3. from __future__ import unicode_literals
  4. from django.db import migrations, models
  5. class Migration(migrations.Migration):
  6. dependencies = [("api", "0026_auto_20160415_1824")]
  7. operations = [
  8. migrations.AddField(
  9. model_name="check",
  10. name="kind",
  11. field=models.CharField(
  12. choices=[("simple", "Simple"), ("cron", "Cron")],
  13. default="simple",
  14. max_length=10,
  15. ),
  16. ),
  17. migrations.AddField(
  18. model_name="check",
  19. name="schedule",
  20. field=models.CharField(default="* * * * *", max_length=100),
  21. ),
  22. migrations.AddField(
  23. model_name="check",
  24. name="tz",
  25. field=models.CharField(default="UTC", max_length=36),
  26. ),
  27. migrations.AlterField(
  28. model_name="channel",
  29. name="kind",
  30. field=models.CharField(
  31. choices=[
  32. ("email", "Email"),
  33. ("webhook", "Webhook"),
  34. ("hipchat", "HipChat"),
  35. ("slack", "Slack"),
  36. ("pd", "PagerDuty"),
  37. ("po", "Pushover"),
  38. ("pushbullet", "Pushbullet"),
  39. ("opsgenie", "OpsGenie"),
  40. ("victorops", "VictorOps"),
  41. ],
  42. max_length=20,
  43. ),
  44. ),
  45. ]