# Generated by Django 2.2.6 on 2020-02-24 18:48

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Question',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('question_text', models.CharField(max_length=200)),
                ('department', models.CharField(choices=[('Chemical Engineering', 'Chemical Engineering'), ('Biotechnology', 'Biotechnology'), ('Civil Engineering', 'Civil Engineering'), ('Computer Science and Engineering', 'Computer Science and Engineering'), ('Electronics and Communication Engineering', 'Electronics and Communication Engineering'), ('Electronics and Electrical Engineering', 'Electronics and Electrical Engineering'), ('Engineering Physics', 'Engineering Physics'), ('Mathematics and Computing', 'Mathematics and Computing'), ('Mechanical Engineering', 'Mechanical Engineering'), ('Design ', 'Design '), ('Biosciences and Bioengineering', 'Biosciences and Bioengineering'), ('None', 'None')], default='None', max_length=120)),
                ('club', models.CharField(choices=[('Alcheringa', 'Alcheringa'), ('Cadence', 'Cadence'), ('Anchorenza and RadioG (AnR)', 'Anchorenza and RadioG (AnR)'), ('Fine Arts', 'Fine Arts'), ('Montage', 'Montage'), ('Lumiere', 'Lumiere'), ('Octaves', 'Octaves'), ('Expressions', 'Expressions'), ('LitSoc-DebSoc', 'LitSoc-DebSoc'), ('Aeromodelling', 'Aeromodelling'), ('Astronomy', 'Astronomy'), ('Coding', 'Coding'), ('Consulting and Analytics (CnA)', 'Consulting and Analytics (CnA)'), ('Electronics ', 'Electronics '), ('Prakriti ', 'Prakriti '), ('Finance and Economics', 'Finance and Economics'), ('Robotics', 'Robotics '), ('ACUMEN', 'ACUMEN'), ('TechEvince', 'TechEvince'), ('Green Automobile', 'Green Automobile'), ('Entrepreneurial Development Cell (EDC)', 'Entrepreneurial Development Cell (EDC)'), ('Udgam', 'Udgam'), ('Techniche', 'Techniche'), ('None', 'None')], default='None', max_length=120)),
                ('image', models.ImageField(default='default.jpg', upload_to='images/')),
                ('pub_date', models.DateTimeField(auto_now_add=True)),
                ('status', models.BooleanField(default=True)),
            ],
        ),
        migrations.CreateModel(
            name='Voter',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('question', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='polls.Question')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.CreateModel(
            name='Choice',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('choice_text', models.CharField(max_length=200)),
                ('votes', models.IntegerField(default=0)),
                ('question', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='polls.Question')),
            ],
        ),
    ]
