text: # Generated by Django 3.2.8 on 2021-10-22 01:22
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Auditories',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(db_index=True, max_length=200)),
                  ('slug', models.SlugField(max_length=200, unique=True)),
              ],
              options={
                  'verbose_name': 'auditory',
                  'verbose_name_plural': 'auditories',
                  'ordering': ('name',),
              },
          ),
          migrations.CreateModel(
              name='Departaments',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(db_index=True, max_length=200)),
                  ('slug', models.SlugField(max_length=200, unique=True)),
              ],
              options={
                  'verbose_name': 'departament',
                  'verbose_name_plural': 'departaments',
                  'ordering': ('name',),
              },
          ),
          migrations.CreateModel(
              name='Disciplines',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(db_index=True, max_length=200)),
                  ('slug', models.SlugField(max_length=200, unique=True)),
              ],
              options={
                  'verbose_name': 'discipline',
                  'verbose_name_plural': 'disciplines',
                  'ordering': ('name',),
              },
          ),
          migrations.CreateModel(
              name='Faculties',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(db_index=True, max_length=200)),
                  ('slug', models.SlugField(max_length=200, unique=True)),
              ],
              options={
                  'verbose_name': 'faculty',
                  'verbose_name_plural': 'faculties',
                  'ordering': ('name',),
              },
          ),
          migrations.CreateModel(
              name='StudyGroups',
              fields=[
                  ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(db_index=True, max_length=200)),
                  ('slug', models.SlugField(max_length=200, unique=True)),
                  ('departament', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='departaments', to='university.departaments')),
              ],
              options={
                  'verbose_name': 'studygroup',
                  'verbose_name_plural': 'studygroups',
                  'ordering': ('name',),
              },
          ),
          migrations.AddField(
              model_name='departaments',
              name='faculty',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='faculties', to='university.faculties'),
          ),
      ]
  