# Generated by Django 5.2 on 2025-06-09 05:52

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


class Migration(migrations.Migration):

    dependencies = [
        ("contenttypes", "0002_remove_content_type_name"),
        ("netbox_security", "0005_policer"),
    ]

    operations = [
        migrations.AlterField(
            model_name="natpoolassignment",
            name="assigned_object_type",
            field=models.ForeignKey(
                limit_choices_to=models.Q(
                    models.Q(("app_label", "dcim"), ("model", "device")),
                    models.Q(("app_label", "dcim"), ("model", "virtualdevicecontext")),
                    models.Q(
                        ("app_label", "virtualization"), ("model", "virtualmachine")
                    ),
                ),
                on_delete=django.db.models.deletion.CASCADE,
                to="contenttypes.contenttype",
            ),
        ),
        migrations.AlterField(
            model_name="natrulesetassignment",
            name="assigned_object_type",
            field=models.ForeignKey(
                limit_choices_to=models.Q(
                    models.Q(("app_label", "dcim"), ("model", "device")),
                    models.Q(("app_label", "dcim"), ("model", "virtualdevicecontext")),
                    models.Q(
                        ("app_label", "virtualization"), ("model", "virtualmachine")
                    ),
                ),
                on_delete=django.db.models.deletion.CASCADE,
                to="contenttypes.contenttype",
            ),
        ),
    ]
