# Generated by Django 5.1.7 on 2025-09-26 08:00

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


class Migration(migrations.Migration):

    dependencies = [
        ("circuits", "0051_virtualcircuit_group_assignment"),
        ("phone_management_plugin", "0001_initial"),
    ]

    operations = [
        migrations.RenameField(
            model_name="phonenumber",
            old_name="voice_cicruit",
            new_name="voice_circuit",
        ),
        migrations.RenameField(
            model_name="phonenumberrange",
            old_name="voice_cicruit",
            new_name="voice_circuit",
        ),
        migrations.AddField(
            model_name="phonenumber",
            name="virtual_circuit",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="phonenumbers_virtualcircuit",
                to="circuits.virtualcircuit",
            ),
        ),
        migrations.AddField(
            model_name="phonenumberrange",
            name="virtual_circuit",
            field=models.ForeignKey(
                blank=True,
                null=True,
                on_delete=django.db.models.deletion.SET_NULL,
                related_name="phonenumberranges_virtualcircuit",
                to="circuits.virtualcircuit",
            ),
        ),
    ]
