# Generated migration for converting status fields to RichFSMField
# This migration converts status fields from RichChoiceField to RichFSMField
# across all moderation models to enable FSM state management.

from django.db import migrations

import apps.core.state_machine.fields


class Migration(migrations.Migration):

    dependencies = [
        ("moderation", "0006_alter_bulkoperation_operation_type_and_more"),
    ]

    operations = [
        migrations.AlterField(
            model_name="bulkoperation",
            name="status",
            field=apps.core.state_machine.fields.RichFSMField(
                choice_group="bulk_operation_statuses",
                default="PENDING",
                domain="moderation",
                max_length=20,
            ),
        ),
        migrations.AlterField(
            model_name="editsubmission",
            name="status",
            field=apps.core.state_machine.fields.RichFSMField(
                choice_group="edit_submission_statuses",
                default="PENDING",
                domain="moderation",
                max_length=20,
            ),
        ),
        migrations.AlterField(
            model_name="moderationqueue",
            name="status",
            field=apps.core.state_machine.fields.RichFSMField(
                choice_group="moderation_queue_statuses",
                default="PENDING",
                domain="moderation",
                max_length=20,
            ),
        ),
        migrations.AlterField(
            model_name="moderationreport",
            name="status",
            field=apps.core.state_machine.fields.RichFSMField(
                choice_group="moderation_report_statuses",
                default="PENDING",
                domain="moderation",
                max_length=20,
            ),
        ),
        migrations.AlterField(
            model_name="photosubmission",
            name="status",
            field=apps.core.state_machine.fields.RichFSMField(
                choice_group="photo_submission_statuses",
                default="PENDING",
                domain="moderation",
                max_length=20,
            ),
        ),
    ]
