[PR #19456] [MERGED] Fixes #19444: Fix change logging for contact group assignments #15653

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19456
Author: @jeremystretch
Created: 5/9/2025
Status: Merged
Merged: 5/13/2025
Merged by: @bctiemann

Base: mainHead: 19444-contact-groups-changelog


📝 Commits (1)

  • abeed47 Fixes #19444: Fix changeloggin for contact group assignments

📊 Changes

2 files changed (+71 additions, -14 deletions)

View changed files

netbox/tenancy/migrations/0020_remove_contactgroupmembership.py (+71 -0)
📝 netbox/tenancy/models/contacts.py (+0 -14)

📄 Description

Fixes: #19444

  • Remove the custom ContactGroupMembership "through" model for contact group assignments
  • Introduce a crafted migration to transparently handle the database changes

🔄 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/19456 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/9/2025 **Status:** ✅ Merged **Merged:** 5/13/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `main` ← **Head:** `19444-contact-groups-changelog` --- ### 📝 Commits (1) - [`abeed47`](https://github.com/netbox-community/netbox/commit/abeed474f674c4b6ad2d4d9dfc2fe2d3b87c485f) Fixes #19444: Fix changeloggin for contact group assignments ### 📊 Changes **2 files changed** (+71 additions, -14 deletions) <details> <summary>View changed files</summary> ➕ `netbox/tenancy/migrations/0020_remove_contactgroupmembership.py` (+71 -0) 📝 `netbox/tenancy/models/contacts.py` (+0 -14) </details> ### 📄 Description ### Fixes: #19444 - Remove the custom ContactGroupMembership "through" model for contact group assignments - Introduce a crafted migration to transparently handle the database changes --- <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:14 +01:00
adam closed this issue 2025-12-30 00:23:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15653