# Generated by Django 3.0.8 on 2020-08-16 08:06

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Chapter',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Chapter', models.CharField(max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='Department',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('department', models.CharField(choices=[('First Year', 'First Year'), ('Mechanical Engineering', 'Mechanical Engineering'), ('Mechanical Sandwitch Engineering', 'Mechanical Sandwitch Engineering'), ('Electronics And Telecommunication Engineering', 'Electronics And Telecommunication Engineering'), ('Electrical Engineering', 'Electrical Engineering'), ('Computer Engineering', 'Computer Engineering'), ('Civil Engineering', 'Civil Engineering'), ('Instrumentation Engineering', 'Instrumentation Engineering'), ('Chemical Engineering', 'Chemical Engineering'), ('Information Technology Engineering', 'Information Technology Engineering')], max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='Universitie',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('universitie', models.CharField(choices=[('Savitribai Phule Pune Universities', 'Savitribai Phule Pune Universities')], max_length=100)),
            ],
        ),
        migrations.CreateModel(
            name='Topic',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('Topic_Name', models.CharField(max_length=100, null=True)),
                ('Topic_Description', models.TextField(max_length=1000, null=True)),
                ('Topic_video', models.FileField(upload_to='Videos')),
                ('Topic_Notes', models.FileField(upload_to='Notes')),
                ('subjects', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='freeClasses.Chapter')),
            ],
        ),
        migrations.CreateModel(
            name='Subject',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('patterns', models.CharField(choices=[('2015', '2015'), ('2019', '2019')], max_length=50)),
                ('Classes', models.CharField(choices=[('First Year', 'First Year'), ('Second Year', 'Second Year'), ('Third Year', 'Third Year'), ('Fourth Year', 'Fourth Year')], max_length=100)),
                ('Sem', models.CharField(choices=[('Semester 1', 'Semester 1'), ('Semester 2', 'Semester 2'), ('Semester 3', 'Semester 3'), ('Semester 4', 'Semester 4'), ('Semester 5', 'Semester 5'), ('Semester 6', 'Semester 6'), ('Semester 7', 'Semester 7'), ('Semester 8', 'Semester 8')], max_length=50)),
                ('Subjects', models.CharField(max_length=100)),
                ('Department', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='freeClasses.Department')),
            ],
        ),
        migrations.AddField(
            model_name='department',
            name='universities',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='freeClasses.Universitie'),
        ),
        migrations.AddField(
            model_name='chapter',
            name='Subjects',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='freeClasses.Subject'),
        ),
    ]
