# Generated by Django 2.2.10 on 2020-06-08 14:53

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('online_quiz', '0001_initial'),
        ('multi_choice_q', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='MCQQuestion',
            fields=[
                ('question_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='online_quiz.Question')),
                ('answer_order', models.CharField(choices=[('content', 'Content'), ('none', 'None')], default='content', help_text='The order in which multichoice                     answer options are displayed                     to the user', max_length=30, verbose_name='Answer Order')),
            ],
            options={
                'verbose_name': 'Multiple Choice Question',
                'verbose_name_plural': 'Multiple Choice Questions',
            },
            bases=('online_quiz.question',),
        ),
        migrations.AddField(
            model_name='answer',
            name='question',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='multi_choice_q.MCQQuestion', verbose_name='Question'),
        ),
    ]
