[PR #21015] [MERGED] Closes #20954: Add indexes for GFKs #16124

Closed
opened 2025-12-30 00:25:55 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/21015
Author: @jeremystretch
Created: 12/18/2025
Status: Merged
Merged: 12/18/2025
Merged by: @arthanson

Base: featureHead: 20954-gfk-indexes


📝 Commits (1)

📊 Changes

10 files changed (+111 additions, -8 deletions)

View changed files

netbox/circuits/migrations/0056_gfk_indexes.py (+17 -0)
📝 netbox/circuits/models/circuits.py (+3 -0)
netbox/dcim/migrations/0225_gfk_indexes.py (+19 -0)
📝 netbox/dcim/models/devices.py (+4 -1)
netbox/ipam/migrations/0086_gfk_indexes.py (+19 -0)
📝 netbox/ipam/models/ip.py (+4 -7)
netbox/virtualization/migrations/0052_gfk_indexes.py (+19 -0)
📝 netbox/virtualization/models/clusters.py (+3 -0)
netbox/wireless/migrations/0017_gfk_indexes.py (+20 -0)
📝 netbox/wireless/models.py (+3 -0)

📄 Description

Closes: #20954

Adds missing indexes for GenericForeignKey fields identified on five models.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/21015 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 12/18/2025 **Status:** ✅ Merged **Merged:** 12/18/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `feature` ← **Head:** `20954-gfk-indexes` --- ### 📝 Commits (1) - [`c91e9be`](https://github.com/netbox-community/netbox/commit/c91e9be726bbd8901e9121382295da4a1bfe40a2) Closes #20954: Add indexes for GFKs ### 📊 Changes **10 files changed** (+111 additions, -8 deletions) <details> <summary>View changed files</summary> ➕ `netbox/circuits/migrations/0056_gfk_indexes.py` (+17 -0) 📝 `netbox/circuits/models/circuits.py` (+3 -0) ➕ `netbox/dcim/migrations/0225_gfk_indexes.py` (+19 -0) 📝 `netbox/dcim/models/devices.py` (+4 -1) ➕ `netbox/ipam/migrations/0086_gfk_indexes.py` (+19 -0) 📝 `netbox/ipam/models/ip.py` (+4 -7) ➕ `netbox/virtualization/migrations/0052_gfk_indexes.py` (+19 -0) 📝 `netbox/virtualization/models/clusters.py` (+3 -0) ➕ `netbox/wireless/migrations/0017_gfk_indexes.py` (+20 -0) 📝 `netbox/wireless/models.py` (+3 -0) </details> ### 📄 Description ### Closes: #20954 Adds missing indexes for GenericForeignKey fields identified on five models. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-30 00:25:55 +01:00
adam closed this issue 2025-12-30 00:25:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16124