# Generated by Django 3.2.2 on 2021-06-08 18:20

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('pyschool', '0018_auto_20210530_1451'),
    ]

    operations = [
        migrations.AlterField(
            model_name='coursesectioncontent',
            name='QuizType',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='CourseElementQuizInSectionContent', to='pyschool.courseelementquiz'),
        ),
        migrations.CreateModel(
            name='CourseAccess',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Course', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='CourseAccessCourse', to='pyschool.course')),
                ('User', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='CourseAccessUser', to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
