#6732 - Update migration file

This commit is contained in:
Daniel Sheppard 2021-10-28 12:06:41 -05:00
parent 033db83068
commit fff124ebb1
2 changed files with 2 additions and 21 deletions

View File

@ -13,7 +13,7 @@ class Migration(migrations.Migration):
('extras', '0062_clear_secrets_changelog'),
('tenancy', '0003_contacts'),
('dcim', '0137_relax_uniqueness_constraints'),
('ipam', '0050_iprange'),
('ipam', '0051_extend_tag_support'),
]
operations = [
@ -24,7 +24,7 @@ class Migration(migrations.Migration):
('last_updated', models.DateTimeField(auto_now=True, null=True)),
('custom_field_data', models.JSONField(blank=True, default=dict, encoder=django.core.serializers.json.DjangoJSONEncoder)),
('id', models.BigAutoField(primary_key=True, serialize=False)),
('asn', dcim.fields.ASNField(blank=True, null=True)),
('asn', dcim.fields.ASNField(blank=True, null=True, unique=True)),
('description', models.CharField(blank=True, max_length=200)),
('rir', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, related_name='asns', to='ipam.rir')),
('sites', models.ManyToManyField(blank=True, related_name='asns', to='dcim.Site')),

View File

@ -1,19 +0,0 @@
# Generated by Django 3.2.8 on 2021-10-28 15:03
import dcim.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('ipam', '0051_asn_model'),
]
operations = [
migrations.AlterField(
model_name='asn',
name='asn',
field=dcim.fields.ASNField(blank=True, null=True, unique=True),
),
]