mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-15 16:22:18 -06:00
Some checks are pending
CI / build (20.x, 3.12) (push) Waiting to run
CI / build (20.x, 3.13) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, actions) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
108 lines
3.4 KiB
Python
108 lines
3.4 KiB
Python
import django.core.validators
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('dcim', '0220_cable_profile'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='consoleport',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='consoleserverport',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='frontport',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='interface',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='powerfeed',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='poweroutlet',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='powerport',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
migrations.AddField(
|
|
model_name='rearport',
|
|
name='cable_position',
|
|
field=models.PositiveIntegerField(
|
|
blank=True,
|
|
null=True,
|
|
validators=[
|
|
django.core.validators.MinValueValidator(1),
|
|
django.core.validators.MaxValueValidator(1024),
|
|
],
|
|
),
|
|
),
|
|
]
|