# Generated by Django 3.2.20 on 2023-11-16 09:47

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


class Migration(migrations.Migration):
    dependencies = [
        ("wagtailcore", "0089_log_entry_data_json_null_to_object"),
        ("learnpath", "0010_alter_learningcontentedoniqtest_content_assignment"),
    ]

    operations = [
        migrations.CreateModel(
            name="LearningContentKnowledgeAssessment",
            fields=[
                (
                    "page_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="wagtailcore.page",
                    ),
                ),
                ("minutes", models.PositiveIntegerField(default=15)),
                ("description", wagtail.fields.RichTextField(blank=True)),
                ("content_url", models.TextField(blank=True)),
                ("has_course_completion_status", models.BooleanField(default=True)),
                (
                    "can_user_self_toggle_course_completion",
                    models.BooleanField(default=True),
                ),
            ],
            options={
                "abstract": False,
            },
            bases=("wagtailcore.page",),
        ),
    ]
