# Generated by Django 5.2.13 on 2026-06-09 18:23

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ("smehub_incubation", "0008_rename_competition_fields"),
    ]

    operations = [
        migrations.AlterField(
            model_name="application",
            name="external_ref",
            field=models.PositiveBigIntegerField(
                blank=True,
                db_index=True,
                help_text="Import reference id from the SME-Hub `applications` table.",
                null=True,
                unique=True,
            ),
        ),
        migrations.AlterField(
            model_name="application",
            name="form_responses",
            field=models.JSONField(
                blank=True, help_text="Raw {field_name: answer} as submitted.", null=True
            ),
        ),
        migrations.AlterField(
            model_name="judgescore",
            name="external_ref",
            field=models.PositiveBigIntegerField(
                blank=True,
                db_index=True,
                help_text="Import reference id from the SME-Hub `results` row this score came from.",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="judgescore",
            name="score_breakdown",
            field=models.JSONField(
                blank=True, help_text="Full {field_name: score} payload.", null=True
            ),
        ),
        migrations.AlterField(
            model_name="programme",
            name="application_form_schema",
            field=models.JSONField(
                blank=True,
                help_text="jQuery-formBuilder schema for a competition's application form.",
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="programme",
            name="call_type",
            field=models.CharField(
                choices=[
                    ("programme", "Programme"),
                    ("competition", "Competition"),
                    ("external", "External call"),
                ],
                db_index=True,
                default="programme",
                max_length=16,
            ),
        ),
        migrations.AlterField(
            model_name="programme",
            name="excerpt",
            field=models.TextField(blank=True, help_text="Short teaser."),
        ),
        migrations.AlterField(
            model_name="programme",
            name="external_ref",
            field=models.PositiveBigIntegerField(
                blank=True,
                db_index=True,
                help_text="Import reference id from the SME-Hub `calls` table.",
                null=True,
                unique=True,
            ),
        ),
    ]
