mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-26 18:38:38 -06:00
Address PR feedback, clean up migrations
This commit is contained in:
parent
79e3067327
commit
8cb2b8b87a
@ -42,7 +42,7 @@ class Migration(migrations.Migration):
|
|||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('dcim', '0202_location_comments_region_comments_sitegroup_comments'),
|
('dcim', '0202_location_comments_region_comments_sitegroup_comments'),
|
||||||
('ipam', '0078_service_parent_object_id_service_parent_object_type'),
|
('ipam', '0078_add_service_fhrp_group_parent_gfk'),
|
||||||
('virtualization', '0048_populate_mac_addresses'),
|
('virtualization', '0048_populate_mac_addresses'),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('ipam', '0079_populate_service_parent'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='service',
|
|
||||||
name='device',
|
|
||||||
),
|
|
||||||
migrations.RemoveField(
|
|
||||||
model_name='service',
|
|
||||||
name='virtual_machine',
|
|
||||||
),
|
|
||||||
]
|
|
@ -6,10 +6,18 @@ class Migration(migrations.Migration):
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
('contenttypes', '0002_remove_content_type_name'),
|
('contenttypes', '0002_remove_content_type_name'),
|
||||||
('extras', '0125_exporttemplate_file_name'),
|
('extras', '0125_exporttemplate_file_name'),
|
||||||
('ipam', '0080_remove_service_device_remove_service_virtual_machine'),
|
('ipam', '0079_populate_service_parent'),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='service',
|
||||||
|
name='device',
|
||||||
|
),
|
||||||
|
migrations.RemoveField(
|
||||||
|
model_name='service',
|
||||||
|
name='virtual_machine',
|
||||||
|
),
|
||||||
migrations.AddIndex(
|
migrations.AddIndex(
|
||||||
model_name='service',
|
model_name='service',
|
||||||
index=models.Index(
|
index=models.Index(
|
Loading…
Reference in New Issue
Block a user