text: # Generated by Django 3.2.5 on 2021-08-02 16:41
  
  import django.core.validators
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ("school", "0009_alter_schoolsubject_teacher"),
      ]
  
      operations = [
          migrations.CreateModel(
              name="Grade",
              fields=[
                  (
                      "id",
                      models.BigAutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  (
                      "value",
                      models.IntegerField(
                          default=0,
                          validators=[
                              django.core.validators.MaxValueValidator(5),
                              django.core.validators.MinValueValidator(0),
                          ],
                      ),
                  ),
                  (
                      "student",
                      models.ForeignKey(
                          blank=True,
                          null=True,
                          on_delete=django.db.models.deletion.SET_NULL,
                          to="school.student",
                      ),
                  ),
                  (
                      "subject",
                      models.ForeignKey(
                          blank=True,
                          null=True,
                          on_delete=django.db.models.deletion.SET_NULL,
                          to="school.schoolsubject",
                      ),
                  ),
              ],
          ),
      ]
  