Skip to content

Commit

Permalink
17419 rebuild module bay tree on upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
arthanson committed Sep 19, 2024
1 parent d716d29 commit b469e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/dcim/migrations/0191_module_bay_rebuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


def rebuild_mptt(apps, schema_editor):
ModuleBay = apps.get_model('dcim', 'ModuleBay')
from dcim.models import ModuleBay
ModuleBay.objects.rebuild()


Expand Down

0 comments on commit b469e07

Please sign in to comment.