[PR #13348] [MERGED] Closes #11519: Add a SQL index for IPAddress host value #14168

Closed
opened 2025-12-29 23:22:58 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13348
Author: @jeremystretch
Created: 8/2/2023
Status: Merged
Merged: 8/2/2023
Merged by: @jeremystretch

Base: featureHead: 11519-ipaddress-index


📝 Commits (1)

  • 4216ed9 Closes #11519: Add a SQL index for IPAddress host value

📊 Changes

2 files changed (+25 additions, -0 deletions)

View changed files

netbox/ipam/migrations/0067_ipaddress_index_host.py (+20 -0)
📝 netbox/ipam/models/ip.py (+5 -0)

📄 Description

Closes: #11519

This defines a SQL index for the host value of IPAddress. The resulting SQL index definition is

"ipam_ipaddress_host" btree ((host(address)::inet))

🔄 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/13348 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/2/2023 **Status:** ✅ Merged **Merged:** 8/2/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `feature` ← **Head:** `11519-ipaddress-index` --- ### 📝 Commits (1) - [`4216ed9`](https://github.com/netbox-community/netbox/commit/4216ed96e7baba1220382cc51de283da97a1e887) Closes #11519: Add a SQL index for IPAddress host value ### 📊 Changes **2 files changed** (+25 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `netbox/ipam/migrations/0067_ipaddress_index_host.py` (+20 -0) 📝 `netbox/ipam/models/ip.py` (+5 -0) </details> ### 📄 Description ### Closes: #11519 This defines a SQL index for the host value of IPAddress. The resulting SQL index definition is ``` "ipam_ipaddress_host" btree ((host(address)::inet)) ``` --- <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-29 23:22:58 +01:00
adam closed this issue 2025-12-29 23:22:58 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14168