# Generated by Django 5.2.15 on 2026-07-14 05:08

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("mel_tracking", "0011_correctiveaction_effectiveness_note_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="correctiveaction",
            name="severity",
            field=models.CharField(
                choices=[
                    ("low", "Low"),
                    ("medium", "Medium"),
                    ("high", "High"),
                    ("critical", "Critical"),
                ],
                db_index=True,
                default="medium",
                help_text="M&E SRS Table 66 — high/critical issues require a responsible officer and a due date before the action can be saved.",
                max_length=16,
            ),
        ),
        migrations.AddField(
            model_name="historicalcorrectiveaction",
            name="severity",
            field=models.CharField(
                choices=[
                    ("low", "Low"),
                    ("medium", "Medium"),
                    ("high", "High"),
                    ("critical", "Critical"),
                ],
                db_index=True,
                default="medium",
                help_text="M&E SRS Table 66 — high/critical issues require a responsible officer and a due date before the action can be saved.",
                max_length=16,
            ),
        ),
    ]
