text: # Generated by Django 3.1.6 on 2021-02-18 17:38
  
  from django.db import migrations, models
  import django.db.models.deletion
  import mptt.fields
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Rubric',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50, unique=True)),
                  ('lft', models.PositiveIntegerField(editable=False)),
                  ('rght', models.PositiveIntegerField(editable=False)),
                  ('tree_id', models.PositiveIntegerField(db_index=True, editable=False)),
                  ('level', models.PositiveIntegerField(editable=False)),
                  ('parent', mptt.fields.TreeForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='children', to='testapp.rubric')),
              ],
              options={
                  'abstract': False,
              },
          ),
      ]
  