# Generated by Django 3.1.2 on 2021-04-27 12:58

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


class Migration(migrations.Migration):

    dependencies = [
        ('sis', '0004_auto_20210427_1546'),
    ]

    operations = [
        migrations.CreateModel(
            name='ClassLevel',
            fields=[
                ('name', models.CharField(blank=True, max_length=15, null=True, verbose_name='Class Name')),
                ('id', models.IntegerField(primary_key=True, serialize=False, unique=True, verbose_name='Grade Number')),
                ('shortname', models.CharField(blank=True, max_length=15, null=True)),
            ],
            options={
                'ordering': ('id',),
            },
        ),
        migrations.AddField(
            model_name='student',
            name='class_level',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='sis.classlevel', verbose_name='Class level'),
        ),
    ]

# Generated by Django 3.1.2 on 2021-04-27 12:58

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


class Migration(migrations.Migration):

    dependencies = [
        ('sis', '0004_auto_20210427_1546'),
    ]

    operations = [
        migrations.CreateModel(
            name='ClassLevel',
            fields=[
                ('name', models.CharField(blank=True, max_length=15, null=True, verbose_name='Class Name')),
                ('id', models.IntegerField(primary_key=True, serialize=False, unique=True, verbose_name='Grade Number')),
                ('shortname', models.CharField(blank=True, max_length=15, null=True)),
            ],
            options={
                'ordering': ('id',),
            },
        ),
        migrations.AddField(
            model_name='student',
            name='class_level',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='sis.classlevel', verbose_name='Class level'),
        ),
    ]

# Generated by Django 3.1.2 on 2021-04-27 12:58