mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-22 13:22:24 -06:00
Remove legacy connection_status fields
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 3.1 on 2020-10-05 13:56
|
||||
# Generated by Django 3.1 on 2020-10-05 14:07
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
@@ -14,4 +14,8 @@ class Migration(migrations.Migration):
|
||||
model_name='circuittermination',
|
||||
name='connected_endpoint',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='circuittermination',
|
||||
name='connection_status',
|
||||
),
|
||||
]
|
||||
|
||||
@@ -2,7 +2,6 @@ from django.db import models
|
||||
from django.urls import reverse
|
||||
from taggit.managers import TaggableManager
|
||||
|
||||
from dcim.constants import CONNECTION_STATUS_CHOICES
|
||||
from dcim.fields import ASNField
|
||||
from dcim.models import CableTermination, PathEndpoint
|
||||
from extras.models import ChangeLoggedModel, CustomFieldModel, ObjectChange, TaggedItem
|
||||
@@ -248,11 +247,6 @@ class CircuitTermination(PathEndpoint, CableTermination):
|
||||
on_delete=models.PROTECT,
|
||||
related_name='circuit_terminations'
|
||||
)
|
||||
connection_status = models.BooleanField(
|
||||
choices=CONNECTION_STATUS_CHOICES,
|
||||
blank=True,
|
||||
null=True
|
||||
)
|
||||
port_speed = models.PositiveIntegerField(
|
||||
verbose_name='Port speed (Kbps)'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user