text: # Generated by Django 3.0.6 on 2020-05-16 18:02
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('example', '0003_auto_20200516_1759'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Course',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=30)),
              ],
          ),
          migrations.CreateModel(
              name='Student',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=30)),
              ],
          ),
          migrations.CreateModel(
              name='Enrollment',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('date_enrolled', models.DateField()),
                  ('final_grade', models.CharField(blank=True, max_length=1, null=True)),
                  ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='example.Course')),
                  ('student', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='example.Student')),
              ],
          ),
          migrations.AddField(
              model_name='course',
              name='students',
              field=models.ManyToManyField(through='example.Enrollment', to='example.Student'),
          ),
      ]
  