# Generated by Django 5.2.9 on 2026-01-28 12:56

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


class Migration(migrations.Migration):

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        ('ipam', '0083_vlangroup_populate_total_vlan_ids'),
        ('slurpit_netbox', '0028_alter_slurpitinitipaddress_dns_name'),
    ]

    operations = [
        migrations.AlterModelOptions(
            name='slurpitimporteddevice',
            options={'ordering': ('hostname',)},
        ),
        migrations.AlterModelOptions(
            name='slurpitinitipaddress',
            options={'ordering': ('address',)},
        ),
        migrations.AlterModelOptions(
            name='slurpitinterface',
            options={'ordering': ('_name',)},
        ),
        migrations.AlterModelOptions(
            name='slurpitmapping',
            options={'ordering': ('source_field',)},
        ),
        migrations.AlterModelOptions(
            name='slurpitplanning',
            options={'ordering': ('name',)},
        ),
        migrations.AlterModelOptions(
            name='slurpitsetting',
            options={'ordering': ('server_url',)},
        ),
        migrations.AlterModelOptions(
            name='slurpitsnapshot',
            options={'ordering': ('planning_id', 'hostname')},
        ),
        migrations.AlterModelOptions(
            name='slurpitstageddevice',
            options={'ordering': ('hostname',)},
        ),
        migrations.AddField(
            model_name='slurpitinterface',
            name='ip_address',
            field=models.CharField(blank=True, max_length=64, null=True),
        ),
        migrations.AddField(
            model_name='slurpitinterface',
            name='vrf',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to='ipam.vrf'),
        ),
        migrations.AlterField(
            model_name='slurpitprefix',
            name='scope_type',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='+', to='contenttypes.contenttype'),
        ),
        migrations.DeleteModel(
            name='SlurpitVLAN',
        ),
    ]
