30 lines
979 B
Python
30 lines
979 B
Python
|
# Generated by Django 3.1 on 2020-10-25 19:31
|
||
|
|
||
|
from django.conf import settings
|
||
|
from django.db import migrations, models
|
||
|
import django.db.models.deletion
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||
|
('uncloud', '0006_auto_20201025_1931'),
|
||
|
('uncloud_net', '0010_auto_20201011_2009'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.CreateModel(
|
||
|
name='ReverseDNSEntry',
|
||
|
fields=[
|
||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
||
|
('ip_address', models.GenericIPAddressField(unique=True)),
|
||
|
('name', models.CharField(max_length=253)),
|
||
|
('owner', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
|
||
|
],
|
||
|
),
|
||
|
migrations.DeleteModel(
|
||
|
name='UncloudNetwork',
|
||
|
),
|
||
|
]
|