# Generated by Django 3.2.13 on 2022-12-24 20:34

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


class Migration(migrations.Migration):
    dependencies = [
        ("files", "0001_initial"),
        ("learnpath", "0008_alter_learningcontent_contents"),
        ("course", "0007_coursesessionuser_role"),
    ]

    operations = [
        migrations.CreateModel(
            name="CircleDocument",
            fields=[
                (
                    "id",
                    models.BigAutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("created_at", models.DateTimeField(auto_now_add=True)),
                ("name", models.CharField(max_length=100)),
                (
                    "course_session",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="course.coursesession",
                    ),
                ),
                (
                    "file",
                    models.OneToOneField(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="files.uploadfile",
                    ),
                ),
                (
                    "learning_sequence",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="learnpath.learningsequence",
                    ),
                ),
            ],
        ),
    ]
