# Generated by Django 3.2.3 on 2021-08-30 19:58

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),
        ('api', '0002_auto_20210831_0110'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='answer',
            options={'ordering': ['pk']},
        ),
        migrations.AlterModelOptions(
            name='question',
            options={'ordering': ['pk']},
        ),
        migrations.RemoveField(
            model_name='answer',
            name='ans',
        ),
        migrations.AddField(
            model_name='answer',
            name='answer',
            field=models.IntegerField(choices=[(1, 'option 1'), (2, 'option 2'), (3, 'option 3'), (4, 'option 4')], null=True),
        ),
        migrations.AddField(
            model_name='answer',
            name='question',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='api.question'),
        ),
        migrations.CreateModel(
            name='StudentAnswer',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('answer', models.IntegerField(choices=[(1, 'option 1'), (2, 'option 2'), (3, 'option 3'), (4, 'option 4')], null=True)),
                ('question', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='api.question')),
                ('student', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'ordering': ['pk'],
            },
        ),
    ]

29dee34e9df482d6d8ebdf3eeec1e36ad12298c8
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    dependencies = [migrations.swappable_dependency(settings.
        AUTH_USER_MODEL), ('api', '0002_auto_20210831_0110')]
    operations = [migrations.AlterModelOptions(name='answer', options={
        'ordering': ['pk']}), migrations.AlterModelOptions(name='question',
        options={'ordering': ['pk']}), migrations.RemoveField(model_name=
        'answer', name='ans'), migrations.AddField(model_name='answer',
        name='answer', field=models.IntegerField(choices=[(1, 'option 1'),
        (2, 'option 2'), (3, 'option 3'), (4, 'option 4')], null=True)),
        migrations.AddField(model_name='answer', name='question', field=
        models.ForeignKey(null=True, on_delete=django.db.models.deletion.
        CASCADE, to='api.question')), migrations.CreateModel(name=
        'StudentAnswer', fields=[('id', models.BigAutoField(auto_created=
        True, primary_key=True, serialize=False, verbose_name='ID')), (
        'answer', models.IntegerField(choices=[(1, 'option 1'), (2,
        'option 2'), (3, 'option 3'), (4, 'option 4')], null=True)), (
        'question', models.ForeignKey(null=True, on_delete=django.db.models
        .deletion.CASCADE, to='api.question')), ('student', models.
        ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE,
        to=settings.AUTH_USER_MODEL))], options={'ordering': ['pk']})]

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), ('api', '0002_auto_20210831_0110')]
    operations = [migrations.AlterModelOptions(name='answer', options={
        'ordering': ['pk']}), migrations.AlterModelOptions(name='question',
        options={'ordering': ['pk']}), migrations.RemoveField(model_name=
        'answer', name='ans'), migrations.AddField(model_name='answer',
        name='answer', field=models.IntegerField(choices=[(1, 'option 1'),
        (2, 'option 2'), (3, 'option 3'), (4, 'option 4')], null=True)),
        migrations.AddField(model_name='answer', name='question', field=
        models.ForeignKey(null=True, on_delete=django.db.models.deletion.
        CASCADE, to='api.question')), migrations.CreateModel(name=
        'StudentAnswer', fields=[('id', models.BigAutoField(auto_created=
        True, primary_key=True, serialize=False, verbose_name='ID')), (
        'answer', models.IntegerField(choices=[(1, 'option 1'), (2,
        'option 2'), (3, 'option 3'), (4, 'option 4')], null=True)), (
        'question', models.ForeignKey(null=True, on_delete=django.db.models
        .deletion.CASCADE, to='api.question')), ('student', models.
        ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE,
        to=settings.AUTH_USER_MODEL))], options={'ordering': ['pk']})]

# Generated by Django 3.2.3 on 2021-08-30 19:58

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),
        ('api', '0002_auto_20210831_0110'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='answer',
            options={'ordering': ['pk']},
        ),
        migrations.AlterModelOptions(
            name='question',
            options={'ordering': ['pk']},
        ),
        migrations.RemoveField(
            model_name='answer',
            name='ans',
        ),
        migrations.AddField(
            model_name='answer',
            name='answer',
            field=models.IntegerField(choices=[(1, 'option 1'), (2, 'option 2'), (3, 'option 3'), (4, 'option 4')], null=True),
        ),
        migrations.AddField(
            model_name='answer',
            name='question',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='api.question'),
        ),
        migrations.CreateModel(
            name='StudentAnswer',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('answer', models.IntegerField(choices=[(1, 'option 1'), (2, 'option 2'), (3, 'option 3'), (4, 'option 4')], null=True)),
                ('question', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='api.question')),
                ('student', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'ordering': ['pk'],
            },
        ),
    ]
