mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Initial work on reimplementing custom fields
This commit is contained in:
23
netbox/circuits/migrations/0020_custom_field_data.py
Normal file
23
netbox/circuits/migrations/0020_custom_field_data.py
Normal file
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 3.1 on 2020-08-21 18:34
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('circuits', '0019_nullbooleanfield_to_booleanfield'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='circuit',
|
||||
name='custom_field_data',
|
||||
field=models.JSONField(blank=True, default=dict),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='provider',
|
||||
name='custom_field_data',
|
||||
field=models.JSONField(blank=True, default=dict),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user