summaryrefslogtreecommitdiff
path: root/website/migrations/0004_auto_20181004_1022.py
diff options
context:
space:
mode:
authorSashi202018-10-12 15:36:57 +0530
committerSashi202018-10-12 15:36:57 +0530
commit0b39bd1ebf8f89d574ed1c59d401f6f43b027627 (patch)
tree64716fc22fc062889fc3057f855d6b5579e9d4ed /website/migrations/0004_auto_20181004_1022.py
parentd4b9b016f8b2c9a7ad660db96fb0d1dca8314ea7 (diff)
downloadnccps-2018-0b39bd1ebf8f89d574ed1c59d401f6f43b027627.tar.gz
nccps-2018-0b39bd1ebf8f89d574ed1c59d401f6f43b027627.tar.bz2
nccps-2018-0b39bd1ebf8f89d574ed1c59d401f6f43b027627.zip
Remove migration files and modified config file
Diffstat (limited to 'website/migrations/0004_auto_20181004_1022.py')
-rw-r--r--website/migrations/0004_auto_20181004_1022.py45
1 files changed, 0 insertions, 45 deletions
diff --git a/website/migrations/0004_auto_20181004_1022.py b/website/migrations/0004_auto_20181004_1022.py
deleted file mode 100644
index 51067a7..0000000
--- a/website/migrations/0004_auto_20181004_1022.py
+++ /dev/null
@@ -1,45 +0,0 @@
-# Generated by Django 2.1 on 2018-10-04 10:22
-
-from django.db import migrations, models
-import django.db.models.deletion
-
-
-class Migration(migrations.Migration):
-
- dependencies = [
- ('website', '0003_auto_20180919_1026'),
- ]
-
- operations = [
- migrations.CreateModel(
- name='AnswerPaper',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('validate_ans', models.BooleanField()),
- ('attempted', models.BooleanField()),
- ('date', models.DateTimeField(auto_now=True)),
- ],
- ),
- migrations.CreateModel(
- name='Question',
- fields=[
- ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
- ('question', models.TextField()),
- ('option_1', models.CharField(max_length=255)),
- ('option_2', models.CharField(max_length=255)),
- ('option_3', models.CharField(max_length=255)),
- ('option_4', models.CharField(max_length=255)),
- ('correct_answer', models.CharField(max_length=255)),
- ],
- ),
- migrations.AddField(
- model_name='answerpaper',
- name='answered_q',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='website.Question'),
- ),
- migrations.AddField(
- model_name='answerpaper',
- name='participant',
- field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='website.Profile'),
- ),
- ]