# Generated by Django 5.1.13 on 2025-10-15 07:10

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


class Migration(migrations.Migration):

    dependencies = [
        ("access", "0017_alter_entity_organization_alter_role_organization"),
        ("config_management", "0011_configgroupsticket"),
    ]

    operations = [
        migrations.AlterField(
            model_name="configgrouphosts",
            name="organization",
            field=models.ForeignKey(
                help_text="Tenant this belongs to",
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="+",
                to="access.tenant",
                validators=[
                    access.models.tenancy_abstract.TenancyAbstractModel.validatate_organization_exists
                ],
                verbose_name="Tenant",
            ),
        ),
        migrations.AlterField(
            model_name="configgroups",
            name="organization",
            field=models.ForeignKey(
                help_text="Tenant this belongs to",
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="+",
                to="access.tenant",
                validators=[
                    access.models.tenancy_abstract.TenancyAbstractModel.validatate_organization_exists
                ],
                verbose_name="Tenant",
            ),
        ),
        migrations.AlterField(
            model_name="configgroupsoftware",
            name="organization",
            field=models.ForeignKey(
                help_text="Tenant this belongs to",
                null=True,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="+",
                to="access.tenant",
                validators=[
                    access.models.tenancy_abstract.TenancyAbstractModel.validatate_organization_exists
                ],
                verbose_name="Tenant",
            ),
        ),
    ]
