# Generated by Django 3.0.11 on 2021-12-20 16:29

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


class Migration(migrations.Migration):

    dependencies = [
        ('classrooms', '0007_timeslotexchange'),
    ]

    operations = [
        migrations.AddField(
            model_name='timeslotexchange',
            name='exchanged_student_slot',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='exchanged_in_exchanges', to='classrooms.StudentSlot', verbose_name='Новая запись на слот'),
        ),
        migrations.AddField(
            model_name='timeslotexchange',
            name='exchanged_target_student_slot',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='exchanged_target_in_exchanges', to='classrooms.StudentSlot', verbose_name='Новая целевая запись на слот'),
        ),
        migrations.AddField(
            model_name='timeslotexchange',
            name='target_student_slot',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='target_in_exchanges', to='classrooms.StudentSlot', verbose_name='Целевая запись на слот'),
        ),
        migrations.AlterField(
            model_name='historicalstudentslot',
            name='status',
            field=models.CharField(choices=[('accepted', 'зачислен'), ('rejected', 'отклонен'), ('canceled', 'отменен'), ('exchanged', 'изменен')], db_index=True, default='accepted', max_length=16, verbose_name='статус'),
        ),
        migrations.AlterField(
            model_name='studentslot',
            name='status',
            field=models.CharField(choices=[('accepted', 'зачислен'), ('rejected', 'отклонен'), ('canceled', 'отменен'), ('exchanged', 'изменен')], db_index=True, default='accepted', max_length=16, verbose_name='статус'),
        ),
    ]
