# Generated by Django 5.1.3 on 2025-12-21 03:20

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

import apps.core.state_machine.fields


class Migration(migrations.Migration):

    dependencies = [
        ("pghistory", "0006_delete_aggregateevent"),
        ("rides", "0024_rename_launch_type_to_propulsion_system"),
    ]

    operations = [
        migrations.AlterField(
            model_name="companyevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="companyevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.company",
            ),
        ),
        migrations.AlterField(
            model_name="ride",
            name="status",
            field=apps.core.state_machine.fields.RichFSMField(
                allow_deprecated=False,
                choice_group="statuses",
                choices=[
                    ("OPERATING", "Operating"),
                    ("CLOSED_TEMP", "Temporarily Closed"),
                    ("SBNO", "Standing But Not Operating"),
                    ("CLOSING", "Closing"),
                    ("CLOSED_PERM", "Permanently Closed"),
                    ("UNDER_CONSTRUCTION", "Under Construction"),
                    ("DEMOLISHED", "Demolished"),
                    ("RELOCATED", "Relocated"),
                ],
                default="OPERATING",
                domain="rides",
                help_text="Current operational status of the ride",
                max_length=20,
            ),
        ),
        migrations.AlterField(
            model_name="rideevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="rideevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ride",
            ),
        ),
        migrations.AlterField(
            model_name="rideevent",
            name="status",
            field=apps.core.state_machine.fields.RichFSMField(
                allow_deprecated=False,
                choice_group="statuses",
                choices=[
                    ("OPERATING", "Operating"),
                    ("CLOSED_TEMP", "Temporarily Closed"),
                    ("SBNO", "Standing But Not Operating"),
                    ("CLOSING", "Closing"),
                    ("CLOSED_PERM", "Permanently Closed"),
                    ("UNDER_CONSTRUCTION", "Under Construction"),
                    ("DEMOLISHED", "Demolished"),
                    ("RELOCATED", "Relocated"),
                ],
                default="OPERATING",
                domain="rides",
                help_text="Current operational status of the ride",
                max_length=20,
            ),
        ),
        migrations.AlterField(
            model_name="ridelocationevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridelocationevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridelocation",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodelevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodelevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridemodel",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodelphotoevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodelphotoevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridemodelphoto",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodeltechnicalspecevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodeltechnicalspecevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridemodeltechnicalspec",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodelvariantevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridemodelvariantevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridemodelvariant",
            ),
        ),
        migrations.AlterField(
            model_name="ridepaircomparisonevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridepaircomparisonevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridepaircomparison",
            ),
        ),
        migrations.AlterField(
            model_name="ridephotoevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridephotoevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridephoto",
            ),
        ),
        migrations.AlterField(
            model_name="riderankingevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="riderankingevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.rideranking",
            ),
        ),
        migrations.AlterField(
            model_name="ridereviewevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="ridereviewevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.ridereview",
            ),
        ),
        migrations.AlterField(
            model_name="rollercoasterstatsevent",
            name="pgh_context",
            field=models.ForeignKey(
                db_constraint=False,
                null=True,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="+",
                related_query_name="+",
                to="pghistory.context",
            ),
        ),
        migrations.AlterField(
            model_name="rollercoasterstatsevent",
            name="pgh_obj",
            field=models.ForeignKey(
                db_constraint=False,
                on_delete=django.db.models.deletion.DO_NOTHING,
                related_name="events",
                related_query_name="+",
                to="rides.rollercoasterstats",
            ),
        ),
    ]
