mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-21 19:47:20 -06:00
Annotate all migration operation lists
This commit is contained in:
parent
5d772d7055
commit
edbf562803
@ -25,6 +25,8 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|
||||||
|
# Circuit.status
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='circuit',
|
model_name='circuit',
|
||||||
name='status',
|
name='status',
|
||||||
@ -33,4 +35,5 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=circuit_status_to_slug
|
code=circuit_status_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -21,6 +21,8 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|
||||||
|
# Site.status
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='site',
|
model_name='site',
|
||||||
name='status',
|
name='status',
|
||||||
@ -29,4 +31,5 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=site_status_to_slug
|
code=site_status_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -88,4 +88,5 @@ class Migration(migrations.Migration):
|
|||||||
name='outer_unit',
|
name='outer_unit',
|
||||||
field=models.CharField(blank=True, max_length=50),
|
field=models.CharField(blank=True, max_length=50),
|
||||||
),
|
),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -20,6 +20,8 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|
||||||
|
# DeviceType.subdevice_role
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='devicetype',
|
model_name='devicetype',
|
||||||
name='subdevice_role',
|
name='subdevice_role',
|
||||||
@ -33,4 +35,5 @@ class Migration(migrations.Migration):
|
|||||||
name='subdevice_role',
|
name='subdevice_role',
|
||||||
field=models.CharField(blank=True, max_length=50),
|
field=models.CharField(blank=True, max_length=50),
|
||||||
),
|
),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -108,6 +108,8 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|
||||||
|
# InterfaceTemplate.type
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='interfacetemplate',
|
model_name='interfacetemplate',
|
||||||
name='type',
|
name='type',
|
||||||
@ -116,6 +118,8 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=interfacetemplate_type_to_slug
|
code=interfacetemplate_type_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# Interface.type
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='interface',
|
model_name='interface',
|
||||||
name='type',
|
name='type',
|
||||||
@ -124,6 +128,8 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=interface_type_to_slug
|
code=interface_type_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# Interface.mode
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='interface',
|
model_name='interface',
|
||||||
name='mode',
|
name='mode',
|
||||||
@ -137,4 +143,5 @@ class Migration(migrations.Migration):
|
|||||||
name='mode',
|
name='mode',
|
||||||
field=models.CharField(blank=True, max_length=50),
|
field=models.CharField(blank=True, max_length=50),
|
||||||
),
|
),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -50,6 +50,8 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|
||||||
|
# FrontPortTemplate.type
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='frontporttemplate',
|
model_name='frontporttemplate',
|
||||||
name='type',
|
name='type',
|
||||||
@ -58,6 +60,8 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=frontporttemplate_type_to_slug
|
code=frontporttemplate_type_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# RearPortTemplate.type
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='rearporttemplate',
|
model_name='rearporttemplate',
|
||||||
name='type',
|
name='type',
|
||||||
@ -66,6 +70,8 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=rearporttemplate_type_to_slug
|
code=rearporttemplate_type_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# FrontPort.type
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='frontport',
|
model_name='frontport',
|
||||||
name='type',
|
name='type',
|
||||||
@ -74,6 +80,8 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=frontport_type_to_slug
|
code=frontport_type_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
|
# RearPort.type
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='rearport',
|
model_name='rearport',
|
||||||
name='type',
|
name='type',
|
||||||
|
@ -23,6 +23,8 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|
||||||
|
# Prefix.status
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='prefix',
|
model_name='prefix',
|
||||||
name='status',
|
name='status',
|
||||||
@ -31,4 +33,5 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=prefix_status_to_slug
|
code=prefix_status_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@ -22,6 +22,8 @@ class Migration(migrations.Migration):
|
|||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
|
||||||
|
# VirtualMachine.status
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='virtualmachine',
|
model_name='virtualmachine',
|
||||||
name='status',
|
name='status',
|
||||||
@ -30,4 +32,5 @@ class Migration(migrations.Migration):
|
|||||||
migrations.RunPython(
|
migrations.RunPython(
|
||||||
code=virtualmachine_status_to_slug
|
code=virtualmachine_status_to_slug
|
||||||
),
|
),
|
||||||
|
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user