mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Closes #7784: Support cluster type assignment for config contexts
This commit is contained in:
17
netbox/extras/migrations/0067_configcontext_cluster_types.py
Normal file
17
netbox/extras/migrations/0067_configcontext_cluster_types.py
Normal file
@@ -0,0 +1,17 @@
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('virtualization', '0026_vminterface_bridge'),
|
||||
('extras', '0066_customfield_name_validation'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='configcontext',
|
||||
name='cluster_types',
|
||||
field=models.ManyToManyField(blank=True, related_name='_extras_configcontext_cluster_types_+', to='virtualization.ClusterType'),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user