# Generated by Django 5.0.4 on 2024-05-27 12:40

import django.db.models.deletion
from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("aircox", "0027_remove_page_parent_remove_staticpage_parent_and_more"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="episodesound",
            options={"verbose_name": "Podcast", "verbose_name_plural": "Podcasts"},
        ),
        migrations.AlterField(
            model_name="diffusion",
            name="initial",
            field=models.ForeignKey(
                blank=True,
                limit_choices_to=models.Q(("initial__isnull", True), ("program", models.F("program"))),
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="rerun_set",
                to="aircox.diffusion",
                verbose_name="rerun of",
            ),
        ),
        migrations.AlterField(
            model_name="log",
            name="source",
            field=models.CharField(
                blank=True, help_text="Identifier of the log's source.", max_length=64, null=True, verbose_name="source"
            ),
        ),
        migrations.AlterField(
            model_name="program",
            name="active",
            field=models.BooleanField(
                default=True, help_text="if not checked this program is no longer active", verbose_name="active"
            ),
        ),
        migrations.AlterField(
            model_name="schedule",
            name="initial",
            field=models.ForeignKey(
                blank=True,
                limit_choices_to=models.Q(("initial__isnull", True), ("program", models.F("program"))),
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="rerun_set",
                to="aircox.schedule",
                verbose_name="rerun of",
            ),
        ),
        migrations.AlterField(
            model_name="sound",
            name="is_downloadable",
            field=models.BooleanField(
                default=False, help_text="Sound can be downloaded by website visitors.", verbose_name="downloadable"
            ),
        ),
    ]
