# Generated by Django 3.2.20 on 2023-08-23 09:26

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("duedate", "0002_alter_duedate_start"),
    ]

    operations = [
        migrations.AlterModelOptions(
            name="duedate",
            options={"ordering": ["start", "end"]},
        ),
        migrations.RemoveField(
            model_name="duedate",
            name="description",
        ),
        migrations.RemoveField(
            model_name="duedate",
            name="learning_content_description",
        ),
        migrations.AddField(
            model_name="duedate",
            name="assignment_type_translation_key",
            field=models.CharField(
                blank=True,
                default="",
                help_text="Translation Key aus dem Frontend",
                max_length=1024,
            ),
        ),
        migrations.AddField(
            model_name="duedate",
            name="date_type_translation_key",
            field=models.CharField(
                blank=True,
                default="",
                help_text="Translation Key aus dem Frontend",
                max_length=1024,
            ),
        ),
        migrations.AddField(
            model_name="duedate",
            name="manual_override_fields",
            field=models.BooleanField(
                default=False,
                help_text="Nur aktivieren, wenn man die Felder manuell überschreiben will",
            ),
        ),
        migrations.AddField(
            model_name="duedate",
            name="subtitle",
            field=models.TextField(
                blank=True,
                default="",
                help_text="Überschreibt den Untertitel bei `assignment_type_translation_key` und `date_type_translation_key`",
            ),
        ),
        migrations.AlterField(
            model_name="duedate",
            name="end",
            field=models.DateTimeField(
                blank=True, db_index=True, help_text="Enddatum ist optional", null=True
            ),
        ),
        migrations.AlterField(
            model_name="duedate",
            name="start",
            field=models.DateTimeField(
                blank=True, db_index=True, help_text="Startdatum ist Pflicht", null=True
            ),
        ),
        migrations.AlterField(
            model_name="duedate",
            name="title",
            field=models.CharField(
                default="",
                help_text="Title wird standarmässig vom LearningContent übernommen",
                max_length=1024,
            ),
        ),
        migrations.AlterField(
            model_name="duedate",
            name="url",
            field=models.CharField(
                blank=True,
                default="",
                help_text="URL wird vom LearningContent übernommen",
                max_length=1024,
            ),
        ),
    ]
