# Generated by Django 5.0.14 on 2026-01-05 13:14

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('complaints', '0002_initial'),
        ('organizations', '0001_initial'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='complaintcategory',
            options={'ordering': ['order', 'name_en'], 'verbose_name_plural': 'Complaint Categories'},
        ),
        migrations.RemoveIndex(
            model_name='complaintcategory',
            name='complaints__hospita_a31674_idx',
        ),
        migrations.RemoveField(
            model_name='complaintcategory',
            name='hospital',
        ),
        migrations.AddField(
            model_name='complaintcategory',
            name='hospitals',
            field=models.ManyToManyField(blank=True, help_text='Empty list = system-wide category. Add hospitals to share category.', related_name='complaint_categories', to='organizations.hospital'),
        ),
    ]
