mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-21 21:02:23 -06:00
17195 Add color to PowerOutlet (#17623)
* 17195 Add color to PowerOutlet * 17195 Add color to PowerOutlet * Reorder serializer fields * Misc cleanup --------- Co-authored-by: Jeremy Stretch <jstretch@netboxlabs.com>
This commit is contained in:
19
netbox/dcim/migrations/0191_poweroutlet_color.py
Normal file
19
netbox/dcim/migrations/0191_poweroutlet_color.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 5.0.9 on 2024-09-26 19:31
|
||||
|
||||
import utilities.fields
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('dcim', '0190_nested_modules'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='poweroutlet',
|
||||
name='color',
|
||||
field=utilities.fields.ColorField(blank=True, max_length=6),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user