"""G3 + G20 — extend ReportSectionKind with new section kinds.

Pure AlterField on the ``kind`` choices — no schema change, only adds enum
values for budget variance (G3) and the three cross-system summaries (G20).
"""
from django.db import migrations, models


SECTION_KIND_CHOICES = [
    ("indicator_table", "Indicator table"),
    ("chart", "Chart"),
    ("narrative", "Narrative"),
    ("feedback_summary", "Feedback summary"),
    ("participant_timeline", "Participant timeline"),
    ("finance", "Finance"),
    ("variance", "Variance table"),
    ("compliance", "Compliance alerts"),
    ("budget_variance", "Budget vs expenditure"),
    ("rims_funding_summary", "RIMS funding summary"),
    ("rep_completions_summary", "REP course completions"),
    ("repository_outputs_summary", "Repository outputs"),
]


class Migration(migrations.Migration):

    dependencies = [
        ("mel_reports", "0003_report_share_token"),
    ]

    operations = [
        migrations.AlterField(
            model_name="reportsection",
            name="kind",
            field=models.CharField(choices=SECTION_KIND_CHOICES, max_length=32),
        ),
    ]
