# Generated by Django 6.0.1 on 2026-05-28 19:25

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


class Migration(migrations.Migration):

    dependencies = [
        ('complaints', '0011_complaint_legacy_location_and_more'),
        ('organizations', '0005_alter_legacylocation_table_and_more'),
    ]

    operations = [
        migrations.AlterField(
            model_name='complaint',
            name='legacy_location',
            field=models.ForeignKey(blank=True, help_text='Location (e.g., Riyadh, Jeddah)', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='complaints', to='organizations.legacylocation'),
        ),
        migrations.AlterField(
            model_name='complaint',
            name='legacy_main_section',
            field=models.ForeignKey(blank=True, help_text='Section/Department', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='complaints', to='organizations.legacymainsection'),
        ),
        migrations.AlterField(
            model_name='complaint',
            name='legacy_subsection',
            field=models.ForeignKey(blank=True, help_text='Subsection within the section', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='complaints', to='organizations.legacysubsection'),
        ),
        migrations.AlterField(
            model_name='governmentticket',
            name='legacy_location',
            field=models.ForeignKey(blank=True, help_text='Location (e.g., Riyadh, Jeddah)', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='government_tickets', to='organizations.legacylocation'),
        ),
        migrations.AlterField(
            model_name='governmentticket',
            name='legacy_main_section',
            field=models.ForeignKey(blank=True, help_text='Section/Department', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='government_tickets', to='organizations.legacymainsection'),
        ),
        migrations.AlterField(
            model_name='governmentticket',
            name='legacy_subsection',
            field=models.ForeignKey(blank=True, help_text='Subsection within the section', null=True, on_delete=django.db.models.deletion.PROTECT, related_name='government_tickets', to='organizations.legacysubsection'),
        ),
        migrations.AlterField(
            model_name='inquiry',
            name='legacy_location',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='inquiries', to='organizations.legacylocation'),
        ),
        migrations.AlterField(
            model_name='inquiry',
            name='legacy_main_section',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='inquiries', to='organizations.legacymainsection'),
        ),
        migrations.AlterField(
            model_name='inquiry',
            name='legacy_subsection',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='inquiries', to='organizations.legacysubsection'),
        ),
    ]
