# Generated by Django 3.2.13 on 2023-08-10 06:17

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


class Migration(migrations.Migration):
    dependencies = [
        ("course", "0003_alter_coursecompletion_additional_json_data"),
        ("wagtailcore", "0083_workflowcontenttype"),
        ("wagtailredirects", "0008_add_verbose_name_plural"),
        ("wagtailforms", "0005_alter_formsubmission_form_data"),
        ("duedate", "0001_initial"),
        ("learnpath", "0002_alter_learningcontentassignment_assignment_type"),
    ]

    operations = [
        migrations.CreateModel(
            name="LearningContentEdoniqTest",
            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=False),
                ),
                ("checkbox_text", models.TextField(blank=True)),
                ("test_url", models.TextField(blank=True)),
                ("extended_time_test_url", models.TextField(blank=True)),
            ],
            options={
                "abstract": False,
            },
            bases=("wagtailcore.page",),
        ),
        migrations.DeleteModel(
            name="LearningContentTest",
        ),
    ]
