84 lines
5.3 KiB
Python
84 lines
5.3 KiB
Python
# Generated by Django 5.2.4 on 2025-07-07 11:19
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='DNSStatic',
|
|
fields=[
|
|
('internal_id', models.BigAutoField(primary_key=True, serialize=False)),
|
|
('disabled', models.CharField(blank=True, choices=[('false', 'No'), ('true', 'Yes')], default='false', max_length=10, null=True)),
|
|
('comment', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('id', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('name', models.CharField(blank=True, max_length=150, null=True, unique=True)),
|
|
('address', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('ttl', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('dynamic', models.CharField(blank=True, default='', editable=False, max_length=150, null=True)),
|
|
('regexp', models.CharField(blank=True, max_length=150, null=True, unique=True)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
),
|
|
migrations.CreateModel(
|
|
name='IPAddress',
|
|
fields=[
|
|
('internal_id', models.BigAutoField(primary_key=True, serialize=False)),
|
|
('disabled', models.CharField(blank=True, choices=[('false', 'No'), ('true', 'Yes')], default='false', max_length=10, null=True)),
|
|
('comment', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('id', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('address', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('network', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('interface', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('actual_interface', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('invalid', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('dynamic', models.CharField(blank=True, default='', editable=False, max_length=150, null=True)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
),
|
|
migrations.CreateModel(
|
|
name='IPDHCPLease',
|
|
fields=[
|
|
('internal_id', models.BigAutoField(primary_key=True, serialize=False)),
|
|
('disabled', models.CharField(blank=True, choices=[('false', 'No'), ('true', 'Yes')], default='false', max_length=10, null=True)),
|
|
('comment', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('id', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('address', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('mac_address', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('client_id', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('hostname', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('valid_until', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('dynamic', models.CharField(blank=True, default='', editable=False, max_length=150, null=True)),
|
|
('blocked', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('active_client_id', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('active_mac_address', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('expires_after', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('age', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('active_server', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('active_address', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('host_name', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('radius', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('last_seen', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('dhcp_option', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('status', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('server', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('address_lists', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('always_broadcast', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
('lease_time', models.CharField(blank=True, default='', max_length=150, null=True)),
|
|
],
|
|
options={
|
|
'abstract': False,
|
|
},
|
|
),
|
|
]
|