# Generated by Django 2.2.8 on 2021-06-20 15:15

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('SelF', '0010_auto_20210620_1151'),
    ]

    operations = [
        migrations.CreateModel(
            name='Grade',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('semester', models.CharField(choices=[('Sem 1', 'Sem 1'), ('Sem 2', 'Sem 2'), ('Sem 3', 'Sem 3'), ('Sem 4', 'Sem 4'), ('Sem 5', 'Sem 5'), ('Sem 6', 'Sem 6'), ('Sem 7', 'Sem 7'), ('Sem 8', 'Sem 8')], max_length=30)),
                ('subject', models.CharField(max_length=50)),
                ('code', models.CharField(max_length=32)),
                ('credits', models.FloatField()),
                ('pointer', models.PositiveIntegerField(validators=[django.core.validators.MaxValueValidator(10)])),
                ('userProfile', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]
