# Generated by Django 4.2.7 on 2026-02-11 16:49

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("users", "0008_remove_old_mentorship_models"),
    ]

    operations = [
        migrations.CreateModel(
            name="Mentor",
            fields=[],
            options={
                "verbose_name": "Ментор",
                "verbose_name_plural": "Менторы",
                "proxy": True,
                "indexes": [],
                "constraints": [],
            },
            bases=("users.user",),
        ),
        migrations.RenameIndex(
            model_name="mentorstudentconnection",
            new_name="mentor_stud_status_e2196c_idx",
            old_name="ment_stu_con_status_idx",
        ),
        migrations.RenameIndex(
            model_name="mentorstudentconnection",
            new_name="mentor_stud_mentor__a499a4_idx",
            old_name="ment_stu_con_mentor_status_idx",
        ),
        migrations.RenameIndex(
            model_name="mentorstudentconnection",
            new_name="mentor_stud_student_da51ce_idx",
            old_name="ment_stu_con_student_status_idx",
        ),
        migrations.RenameIndex(
            model_name="mentorstudentconnection",
            new_name="mentor_stud_confirm_96185e_idx",
            old_name="ment_stu_con_confirm_token_idx",
        ),
        migrations.AddField(
            model_name="user",
            name="invitation_link_token",
            field=models.CharField(
                blank=True,
                help_text="Токен для публичной ссылки, по которой ученики могут зарегистрироваться",
                max_length=64,
                null=True,
                unique=True,
                verbose_name="Токен ссылки-приглашения",
            ),
        ),
    ]
