# Generated by Django 4.2.7 on 2026-02-01 23:15

from django.db import migrations, models


class Migration(migrations.Migration):
    dependencies = [
        ("schedule", "0009_lesson_reminder_15m_sent_lesson_reminder_1h_sent_and_more"),
    ]

    operations = [
        migrations.AddField(
            model_name="lesson",
            name="livekit_access_token",
            field=models.TextField(
                blank=True,
                help_text="JWT токен для подключения к LiveKit комнате (действителен 24 часа)",
                verbose_name="Токен доступа LiveKit",
            ),
        ),
        migrations.AddField(
            model_name="lesson",
            name="livekit_room_name",
            field=models.CharField(
                blank=True,
                db_index=True,
                help_text="Уникальное название комнаты LiveKit для этого занятия",
                max_length=255,
                verbose_name="Название LiveKit комнаты",
            ),
        ),
        migrations.AddIndex(
            model_name="lesson",
            index=models.Index(
                fields=["mentor", "status"], name="lessons_mentor__f22842_idx"
            ),
        ),
        migrations.AddIndex(
            model_name="lesson",
            index=models.Index(fields=["subject"], name="lessons_subject_d6cb45_idx"),
        ),
        migrations.AddIndex(
            model_name="lesson",
            index=models.Index(
                fields=["created_at"], name="lessons_created_12f153_idx"
            ),
        ),
    ]
