# Generated by Django 2.1a1 on 2018-10-13 18:10

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


class Migration(migrations.Migration):

    dependencies = [
        ('calculateResults', '0004_grades'),
    ]

    operations = [
        migrations.CreateModel(
            name='Grade',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('student_name', models.CharField(max_length=100)),
                ('student_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='calculateResults.Student')),
                ('subject_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='calculateResults.Subject')),
            ],
        ),
        migrations.RemoveField(
            model_name='grades',
            name='student_id',
        ),
        migrations.DeleteModel(
            name='Grades',
        ),
    ]
