modified: netbox_dns_bridge/dns_server.py modified: netbox_dns_bridge/management/commands/dns-export-zone.py modified: netbox_dns_bridge/management/commands/dns-export-zones.py modified: netbox_dns_bridge/management/commands/dns-settings.py modified: netbox_dns_bridge/management/commands/dns-transfer-endpoint.py modified: netbox_dns_bridge/migrations/0001_initial.py modified: netbox_dns_bridge/models.py modified: netbox_dns_bridge/request_handler.py modified: netbox_dns_bridge/signals.py modified: netbox_dns_bridge/utils.py Black code formating corrected
59 lines
1.6 KiB
Python
59 lines
1.6 KiB
Python
# Generated by Django 5.2.9 on 2026-04-08 11:29
|
|
|
|
import django.db.models.deletion
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
(
|
|
"netbox_dns",
|
|
"0030_dnsseckeytemplate_comments_dnsseckeytemplate_owner_and_more",
|
|
),
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name="IntegerKeyValueSetting",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True, primary_key=True, serialize=False
|
|
),
|
|
),
|
|
("key", models.CharField(max_length=64)),
|
|
("value", models.IntegerField()),
|
|
],
|
|
options={
|
|
"default_permissions": (),
|
|
},
|
|
),
|
|
migrations.CreateModel(
|
|
name="CatalogZoneMemberIdentifier",
|
|
fields=[
|
|
(
|
|
"id",
|
|
models.BigAutoField(
|
|
auto_created=True, primary_key=True, serialize=False
|
|
),
|
|
),
|
|
("name", models.CharField(max_length=26, unique=True)),
|
|
(
|
|
"zone",
|
|
models.OneToOneField(
|
|
on_delete=django.db.models.deletion.CASCADE,
|
|
related_name="catz_identifier",
|
|
to="netbox_dns.zone",
|
|
),
|
|
),
|
|
],
|
|
options={
|
|
"ordering": ("name",),
|
|
},
|
|
),
|
|
]
|