[PR #19814] [MERGED] Closes #17413: Permit identical names for platforms belonging to different manufacturers #15722

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19814
Author: @jeremystretch
Created: 7/3/2025
Status: Merged
Merged: 7/7/2025
Merged by: @arthanson

Base: featureHead: 17413-relax-platform-uniqueness


📝 Commits (1)

  • 4f3bd34 Closes #17413: Permit identical names for platforms belonging to different manufacturers

📊 Changes

3 files changed (+87 additions, -2 deletions)

View changed files

📝 docs/models/dcim/platform.md (+2 -2)
netbox/dcim/migrations/0208_platform_manufacturer_uniqueness.py (+54 -0)
📝 netbox/dcim/models/devices.py (+31 -0)

📄 Description

Closes: #17413

Relaxes uniqueness enforcement on the name and slug fields of the Platform model, so that each must be unique only within the scope of its assigned manufacturer, if any.


🔄 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/19814 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/3/2025 **Status:** ✅ Merged **Merged:** 7/7/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `feature` ← **Head:** `17413-relax-platform-uniqueness` --- ### 📝 Commits (1) - [`4f3bd34`](https://github.com/netbox-community/netbox/commit/4f3bd34638c6bec15332361b9ccfbe87d5a1af19) Closes #17413: Permit identical names for platforms belonging to different manufacturers ### 📊 Changes **3 files changed** (+87 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `docs/models/dcim/platform.md` (+2 -2) ➕ `netbox/dcim/migrations/0208_platform_manufacturer_uniqueness.py` (+54 -0) 📝 `netbox/dcim/models/devices.py` (+31 -0) </details> ### 📄 Description ### Closes: #17413 Relaxes uniqueness enforcement on the `name` and `slug` fields of the Platform model, so that each must be unique only within the scope of its assigned manufacturer, if any. --- <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:23:39 +01:00
adam closed this issue 2025-12-30 00:23:39 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15722