# Generated by Django 3.2.13 on 2023-07-14 12:28

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


class Migration(migrations.Migration):
    initial = True

    dependencies = [
        ("course", "0001_initial"),
        ("wagtailcore", "0083_workflowcontenttype"),
    ]

    operations = [
        migrations.CreateModel(
            name="DueDate",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("start", models.DateTimeField(db_index=True, null=True)),
                ("end", models.DateTimeField(blank=True, db_index=True, null=True)),
                ("title", models.CharField(default="", max_length=1024)),
                (
                    "learning_content_description",
                    models.CharField(blank=True, default="", max_length=1024),
                ),
                (
                    "description",
                    models.CharField(blank=True, default="", max_length=1024),
                ),
                ("url", models.CharField(blank=True, default="", max_length=1024)),
                (
                    "course_session",
                    models.ForeignKey(
                        blank=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        to="course.coursesession",
                    ),
                ),
                (
                    "page",
                    models.ForeignKey(
                        blank=True,
                        null=True,
                        on_delete=django.db.models.deletion.SET_NULL,
                        to="wagtailcore.page",
                    ),
                ),
            ],
        ),
    ]
