# Generated by Django 5.2.4 on 2026-08-28 11:55

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


class Migration(migrations.Migration):

    dependencies = [
        ('api', '0105_ttactivity_sequence_number_and_more'),
    ]

    operations = [
        migrations.AddField(
            model_name='ttpos',
            name='student',
            field=models.ManyToManyField(through='api.TtStudentPos', to='api.ttstudent'),
        ),
        migrations.CreateModel(
            name='TtStudentPathway',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('pathway', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.ttpathway')),
                ('student', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='api.ttstudent')),
            ],
            options={
                'db_table': 'tt_student_pathway',
                'unique_together': {('student', 'pathway')},
            },
        ),
        migrations.AddField(
            model_name='ttstudent',
            name='pathway',
            field=models.ManyToManyField(through='api.TtStudentPathway', to='api.ttpathway'),
        ),
    ]
