Files
bugsink/alerts/migrations/0004_alter_messagingserviceconfig_kind.py
Klaas van Schelven 2a90d6ab1e Message service backend setup: switch config form per-service in the UI
See #281, which this commit prepares for
2025-11-26 09:10:14 +01:00

21 lines
615 B
Python

import alerts.models
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("alerts", "0003_messagingserviceconfig_last_failure_error_message_and_more"),
]
# This is the "once and for all" migration since we depend on kinds_choices rather than a list now
operations = [
migrations.AlterField(
model_name="messagingserviceconfig",
name="kind",
field=models.CharField(
choices=alerts.models.get_alert_service_kind_choices, default="slack", max_length=20
),
),
]