Skip to content

Commit b7cdbd3

Browse files
Alef-Burzmalijeremystretch
authored andcommitted
Fixes #11248 - Reindex only NetBox apps
1 parent ae440c9 commit b7cdbd3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

netbox/extras/migrations/0083_search.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,16 @@
1010
def reindex(apps, schema_editor):
1111
# Build the search index (except during tests)
1212
if 'test' not in sys.argv:
13-
management.call_command('reindex')
13+
management.call_command(
14+
'reindex',
15+
'circuits',
16+
'dcim',
17+
'extras',
18+
'ipam',
19+
'tenancy',
20+
'virtualization',
21+
'wireless',
22+
)
1423

1524

1625
class Migration(migrations.Migration):

0 commit comments

Comments
 (0)