mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Make 0016_replicate_interfaces depend on dcim.0082_3569_interface_fields
0016_replicate_interfaces copies mode from dcim_interface to virtualization_vminterface. If 0016_replicate_interfaces runs before dcim.0082_3569_interface_fields, it will fail, as prior to dcim.0082_3569_interface_fields the mode field is an integer which permits null, while 0016_replicate_interfaces is expecting this to be a varchar which defaults to empty string.
This commit is contained in:
parent
2435c177f5
commit
7d26558551
@ -85,6 +85,7 @@ class Migration(migrations.Migration):
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
('ipam', '0037_ipaddress_assignment'),
|
('ipam', '0037_ipaddress_assignment'),
|
||||||
('virtualization', '0015_vminterface'),
|
('virtualization', '0015_vminterface'),
|
||||||
|
('dcim', '0082_3569_interface_fields'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
Loading…
Reference in New Issue
Block a user