mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
from django.db import migrations, models
|
|
|
|
import utilities.fields
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('dcim', '0067_device_type_remove_qualifiers'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='rack',
|
|
name='status',
|
|
field=models.PositiveSmallIntegerField(default=3),
|
|
),
|
|
migrations.AddField(
|
|
model_name='rack',
|
|
name='asset_tag',
|
|
field=utilities.fields.NullableCharField(blank=True, max_length=50, null=True, unique=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='rack',
|
|
name='outer_depth',
|
|
field=models.PositiveSmallIntegerField(blank=True, null=True),
|
|
),
|
|
migrations.AddField(
|
|
model_name='rack',
|
|
name='outer_unit',
|
|
field=models.CharField(blank=True, max_length=2),
|
|
),
|
|
migrations.AddField(
|
|
model_name='rack',
|
|
name='outer_width',
|
|
field=models.PositiveSmallIntegerField(blank=True, null=True),
|
|
),
|
|
]
|