initial
This commit is contained in:
83
mikrotik/migrations/0001_initial.py
Normal file
83
mikrotik/migrations/0001_initial.py
Normal file
@@ -0,0 +1,83 @@
|
||||
# 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,
|
||||
},
|
||||
),
|
||||
]
|
||||
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 5.2.4 on 2025-07-08 12:00
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('mikrotik', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='dnsstatic',
|
||||
name='comment',
|
||||
field=models.TextField(blank=True, default='', null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ipaddress',
|
||||
name='comment',
|
||||
field=models.TextField(blank=True, default='', null=True),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='ipdhcplease',
|
||||
name='comment',
|
||||
field=models.TextField(blank=True, default='', null=True),
|
||||
),
|
||||
]
|
||||
0
mikrotik/migrations/__init__.py
Normal file
0
mikrotik/migrations/__init__.py
Normal file
Reference in New Issue
Block a user