mirror of
https://github.com/netbox-community/netbox.git
synced 2026-02-05 23:06:25 -06:00
Consolidate custom field migrations
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Generated by Django 4.0.4 on 2022-04-15 17:13
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('extras', '0073_journalentry_tags_custom_fields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterModelOptions(
|
||||
name='customfield',
|
||||
options={'ordering': ['group_name', 'weight', 'name']},
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='customfield',
|
||||
name='group_name',
|
||||
field=models.CharField(blank=True, max_length=50),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='customfield',
|
||||
name='ui_visibility',
|
||||
field=models.CharField(default='read-write', max_length=50),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user