# Generated by Django 3.2.20 on 2023-08-20 14:06

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


class Migration(migrations.Migration):
    dependencies = [
        ("course", "0003_alter_coursecompletion_additional_json_data"),
        ("duedate", "0002_alter_duedate_start"),
        ("learnpath", "0003_auto_20230810_0817"),
        ("course_session", "0003_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="CourseSessionEdoniqTest",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                (
                    "course_session",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="course.coursesession",
                    ),
                ),
                (
                    "deadline",
                    models.OneToOneField(
                        null=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="test_submission_deadline",
                        to="duedate.duedate",
                    ),
                ),
                (
                    "learning_content",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="learnpath.learningcontentedoniqtest",
                    ),
                ),
            ],
        ),
    ]
