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

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


class Migration(migrations.Migration):

    dependencies = [
        ('observations', '0006_remove_observation_location_and_more'),
        ('organizations', '0008_rename_orgsubsection_to_section_add_champion'),
    ]

    operations = [
        migrations.AddField(
            model_name='observation',
            name='section',
            field=models.ForeignKey(blank=True, help_text='Section within department', null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='observations_new', to='organizations.Section'),
        ),

        migrations.AlterField(
            model_name='observation',
            name='status',
            field=models.CharField(choices=[('new', 'New'), ('triaged', 'Triaged'), ('assigned', 'Assigned'), ('in_progress', 'In Progress'), ('resolved', 'Resolved'), ('closed', 'Closed'), ('rejected', 'Rejected'), ('duplicate', 'Duplicate'), ('contacted', 'Contacted')], db_index=True, default='new', max_length=25),
        ),
        migrations.AlterField(
            model_name='observationstatuslog',
            name='from_status',
            field=models.CharField(blank=True, choices=[('new', 'New'), ('triaged', 'Triaged'), ('assigned', 'Assigned'), ('in_progress', 'In Progress'), ('resolved', 'Resolved'), ('closed', 'Closed'), ('rejected', 'Rejected'), ('duplicate', 'Duplicate'), ('contacted', 'Contacted')], max_length=25),
        ),
        migrations.AlterField(
            model_name='observationstatuslog',
            name='to_status',
            field=models.CharField(choices=[('new', 'New'), ('triaged', 'Triaged'), ('assigned', 'Assigned'), ('in_progress', 'In Progress'), ('resolved', 'Resolved'), ('closed', 'Closed'), ('rejected', 'Rejected'), ('duplicate', 'Duplicate'), ('contacted', 'Contacted')], max_length=25),
        ),
    ]
