mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #5400: Store custom field defaults as JSON values
This commit is contained in:
26
netbox/extras/migrations/0052_customfield_cleanup.py
Normal file
26
netbox/extras/migrations/0052_customfield_cleanup.py
Normal file
@@ -0,0 +1,26 @@
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('extras', '0051_migrate_customfields'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='CustomField',
|
||||
name='default',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='CustomField',
|
||||
old_name='default2',
|
||||
new_name='default'
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='CustomFieldChoice',
|
||||
),
|
||||
migrations.DeleteModel(
|
||||
name='CustomFieldValue',
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user