# Generated by Django 5.1.13 on 2025-10-09 04:52

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


class Migration(migrations.Migration):

    dependencies = [
        (
            "config_management",
            "0010_alter_configgrouphostsaudithistory_options_and_more",
        ),
        ("core", "0026_alter_ticketbase_options_and_more"),
    ]

    operations = [
        migrations.CreateModel(
            name="ConfigGroupsTicket",
            fields=[
                (
                    "modelticket_ptr",
                    models.OneToOneField(
                        auto_created=True,
                        on_delete=django.db.models.deletion.CASCADE,
                        parent_link=True,
                        primary_key=True,
                        serialize=False,
                        to="core.modelticket",
                    ),
                ),
                (
                    "model",
                    models.ForeignKey(
                        help_text="Model the ticket is for.",
                        on_delete=django.db.models.deletion.CASCADE,
                        related_name="+",
                        to="config_management.configgroups",
                        verbose_name="Model",
                    ),
                ),
            ],
            options={
                "verbose_name": "Config Group Ticket",
                "verbose_name_plural": "Config Group Tickets",
                "db_table": "config_management_configgroups_ticket",
                "managed": True,
            },
            bases=("core.modelticket",),
        ),
    ]
