healthchecks_healthchecks/hc/api/migrations/0027_auto_20161213_1059.py
Pēteris Caune 79da9e9f4f
Fix auto-fixable ruff warnings
(`ruff check --fix`)
2024-11-07 15:15:58 +02:00

49 lines
1.4 KiB
Python

# Generated by Django 1.10.1 on 2016-12-13 10:59
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("api", "0026_auto_20160415_1824")]
operations = [
migrations.AddField(
model_name="check",
name="kind",
field=models.CharField(
choices=[("simple", "Simple"), ("cron", "Cron")],
default="simple",
max_length=10,
),
),
migrations.AddField(
model_name="check",
name="schedule",
field=models.CharField(default="* * * * *", max_length=100),
),
migrations.AddField(
model_name="check",
name="tz",
field=models.CharField(default="UTC", max_length=36),
),
migrations.AlterField(
model_name="channel",
name="kind",
field=models.CharField(
choices=[
("email", "Email"),
("webhook", "Webhook"),
("hipchat", "HipChat"),
("slack", "Slack"),
("pd", "PagerDuty"),
("po", "Pushover"),
("pushbullet", "Pushbullet"),
("opsgenie", "OpsGenie"),
("victorops", "VictorOps"),
],
max_length=20,
),
),
]