# Generated by Django 3.1.5 on 2021-02-06 06:18

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


class Migration(migrations.Migration):

    dependencies = [
        ('users', '0003_auto_20210205_2158'),
    ]

    operations = [
        migrations.CreateModel(
            name='LecturerProfile',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('firstName', models.CharField(max_length=50)),
                ('lastName', models.CharField(max_length=50)),
                ('image', models.ImageField(default='defaultDP.jpg', upload_to='profile_pics')),
                ('department', models.CharField(choices=[('EN', 'ENTC'), ('CS', 'CSE'), ('BM', 'BM'), ('ME', 'ME'), ('MT', 'MT'), ('CH', 'CH'), ('EE', 'EE'), ('CE', 'CE'), ('MA', 'MA')], max_length=2)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='StudentProfile',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('firstName', models.CharField(max_length=50)),
                ('lastName', models.CharField(max_length=50)),
                ('department', models.CharField(choices=[('EN', 'ENTC'), ('CS', 'CSE'), ('BM', 'BM'), ('ME', 'ME'), ('MT', 'MT'), ('CH', 'CH'), ('EE', 'EE'), ('CE', 'CE')], max_length=2)),
                ('image', models.ImageField(default='defaultDP.jpg', upload_to='profile_pics')),
                ('indexNo', models.CharField(max_length=7)),
                ('contactNo', models.CharField(max_length=10)),
                ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
        migrations.DeleteModel(
            name='Profile',
        ),
    ]
