# Generated by Django 5.2.7 on 2026-01-25 18:51

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0015_remove_eventparticipation_participation_type_and_more'),
    ]

    operations = [
        migrations.AlterField(
            model_name='eventparticipation',
            name='participation_status',
            field=models.CharField(blank=True, max_length=50),
        ),
        migrations.CreateModel(
            name='ParticipationStatus',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=100)),
                ('is_active', models.BooleanField(default=True)),
                ('tenant', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='participation_statuses', to='core.tenant')),
            ],
            options={
                'verbose_name_plural': 'Participation Statuses',
                'unique_together': {('tenant', 'name')},
            },
        ),
        migrations.AddField(
            model_name='eventparticipation',
            name='participation_status_link',
            field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.PROTECT, to='core.participationstatus'),
        ),
    ]
