[PR #7160] [MERGED] Fixes #7149: Delete all changelog records referencing the old secrets app #13218

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/7160
Author: @jeremystretch
Created: 9/2/2021
Status: Merged
Merged: 9/3/2021
Merged by: @jeremystretch

Base: developHead: 7149-secrets-changelog


📝 Commits (1)

  • 69f0834 Fixes #7149: Delete all changelog records referencing the old secrets app

📊 Changes

1 file changed (+26 additions, -0 deletions)

View changed files

netbox/extras/migrations/0062_clear_secrets_changelog.py (+26 -0)

📄 Description

Fixes: #7149

This PR introduces a new database migration that deletes all changelog records referencing a model from the old secrets app (which was removed in NetBox v3.0). This has been tested to ensure that only change records from the secrets app are removed.

I've submitted this for reference as one of the two potential solutions being discussed under #7149.


🔄 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/7160 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/2/2021 **Status:** ✅ Merged **Merged:** 9/3/2021 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `7149-secrets-changelog` --- ### 📝 Commits (1) - [`69f0834`](https://github.com/netbox-community/netbox/commit/69f083428d821f43305b80a04f5a3e33fbbab0f7) Fixes #7149: Delete all changelog records referencing the old secrets app ### 📊 Changes **1 file changed** (+26 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `netbox/extras/migrations/0062_clear_secrets_changelog.py` (+26 -0) </details> ### 📄 Description ### Fixes: #7149 This PR introduces a new database migration that deletes all changelog records referencing a model from the old secrets app (which was removed in NetBox v3.0). This has been tested to ensure that only change records from the secrets app are removed. I've submitted this for reference as one of the two potential solutions being discussed under #7149. --- <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 22:26:03 +01:00
adam closed this issue 2025-12-29 22:26:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13218